diff options
author | Dana Robinson <derobins@hdfgroup.org> | 2021-03-02 04:32:15 (GMT) |
---|---|---|
committer | Dana Robinson <derobins@hdfgroup.org> | 2021-03-02 04:32:15 (GMT) |
commit | 46865e70afd268308059ab1d8b0e86e9b8de92f4 (patch) | |
tree | 8c4371ef663533e0c8bfab82e02b4b3aa0dd6ff7 /src/H5MF.c | |
parent | 65bf098ee6656f67e78cf1a7aa6ec3f81f867e1f (diff) | |
download | hdf5-46865e70afd268308059ab1d8b0e86e9b8de92f4.zip hdf5-46865e70afd268308059ab1d8b0e86e9b8de92f4.tar.gz hdf5-46865e70afd268308059ab1d8b0e86e9b8de92f4.tar.bz2 |
Switches H5MF memory calls to use H5MM
Diffstat (limited to 'src/H5MF.c')
-rw-r--r-- | src/H5MF.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -150,7 +150,7 @@ defer_free(H5F_shared_t *shared, H5FD_mem_t alloc_type, haddr_t addr, { lower_defree_t *df; - if ((df = malloc(sizeof(*df))) == NULL) + if ((df = H5MM_malloc(sizeof(*df))) == NULL) return FAIL; df->alloc_type = alloc_type; @@ -204,7 +204,7 @@ H5MF_process_deferred_frees(H5F_t *f, const uint64_t tick_num) SIMPLEQ_REMOVE_HEAD(&defrees, link); if (H5MF__xfree_impl(f, df->alloc_type, df->addr, df->size) < 0) err = FAIL; - free(df); + H5MM_xfree(df); } if (err != SUCCEED) { |