diff options
author | Quincey Koziol <koziol@hdfgroup.org> | 2006-05-23 01:24:26 (GMT) |
---|---|---|
committer | Quincey Koziol <koziol@hdfgroup.org> | 2006-05-23 01:24:26 (GMT) |
commit | daa4f9af6cfc4c5af0cac8cf8e8229b3a3705728 (patch) | |
tree | 518d53bea7399701884f2738795469b0d0faa8a7 /src/H5HFint.c | |
parent | 13c0f22b12fbe262faa2a442f4c84f8fcb800fe3 (diff) | |
download | hdf5-daa4f9af6cfc4c5af0cac8cf8e8229b3a3705728.zip hdf5-daa4f9af6cfc4c5af0cac8cf8e8229b3a3705728.tar.gz hdf5-daa4f9af6cfc4c5af0cac8cf8e8229b3a3705728.tar.bz2 |
[svn-r12365] Purpose:
Code checkpoint
Description:
Add a few minor tweaks & corrections to the fractal heap code.
Platforms tested:
Linux 2.4 (chicago)
Too minor to require h5committest
Diffstat (limited to 'src/H5HFint.c')
-rw-r--r-- | src/H5HFint.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/H5HFint.c b/src/H5HFint.c index 4148d14..149eacc 100644 --- a/src/H5HFint.c +++ b/src/H5HFint.c @@ -645,13 +645,14 @@ HDfprintf(stderr, "%s: blk_off = %Zu\n", FUNC, blk_off); HGOTO_ERROR(H5E_HEAP, H5E_CANTUNPROTECT, FAIL, "unable to release fractal heap direct block") dblock = NULL; + /* Update statistics about heap */ + hdr->nobjs--; + hdr->total_man_free += obj_len; + /* Return free space to the heap's list of space */ if(H5HF_space_return(hdr, dxpl_id, sec_node) < 0) HGOTO_ERROR(H5E_HEAP, H5E_CANTINIT, FAIL, "can't add direct block free space to global list") - /* Update statistics about heap */ - hdr->nobjs--; - /* Mark heap header as modified */ if(H5HF_hdr_dirty(hdr) < 0) HGOTO_ERROR(H5E_HEAP, H5E_CANTDIRTY, FAIL, "can't mark heap header as dirty") |