diff options
author | David Young <dyoung@hdfgroup.org> | 2020-04-23 20:26:25 (GMT) |
---|---|---|
committer | David Young <dyoung@hdfgroup.org> | 2020-04-23 20:26:25 (GMT) |
commit | 3cc2644c70a04a99a5c915c27c67e070efaf7ae6 (patch) | |
tree | b9010cbf45e413c4bd4495ba86e86e1a5c06e58b /src/H5MF.c | |
parent | 744ff2b84d8a9743aff504184ce6b21e68e9c5d5 (diff) | |
download | hdf5-3cc2644c70a04a99a5c915c27c67e070efaf7ae6.zip hdf5-3cc2644c70a04a99a5c915c27c67e070efaf7ae6.tar.gz hdf5-3cc2644c70a04a99a5c915c27c67e070efaf7ae6.tar.bz2 |
Bug fix: in the freespace manager, use a new routine,
H5PB_remove_entries(), to remove *all* pages overlapped by the freed
space, instead of just the first one.
Diffstat (limited to 'src/H5MF.c')
-rw-r--r-- | src/H5MF.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1364,7 +1364,7 @@ H5MF__xfree_impl(H5F_t *f, H5FD_mem_t alloc_type, haddr_t addr, hsize_t size) HDassert(H5F_USE_VFD_SWMR(f)); HDassert(H5F_SHARED_PAGED_AGGR(f->shared)); - if(H5PB_remove_entry(f->shared, addr) < 0) + if (H5PB_remove_entries(f->shared, addr, size) < 0) HGOTO_ERROR(H5E_RESOURCE, H5E_CANTFREE, FAIL, "can't remove the page from page buffer") } |