summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2010-05-17 19:29:01 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2010-05-17 19:29:01 (GMT)
commit9ef21822f5ec037e0dd40cf5b05762c738b8c7ad (patch)
tree0f3fdf25d19aedef9fb4011b4a99470ac69a9ab5 /src
parent49a6f7174dc7a6c55a4f76a7e7f6698607171b88 (diff)
downloadhdf5-9ef21822f5ec037e0dd40cf5b05762c738b8c7ad.zip
hdf5-9ef21822f5ec037e0dd40cf5b05762c738b8c7ad.tar.gz
hdf5-9ef21822f5ec037e0dd40cf5b05762c738b8c7ad.tar.bz2
[svn-r18827] Description:
Correct error where variable didn't always get initialized correctly. Tested on: Mac OS X/32 10.6.3 (amazon) w/debug & prod Windows w/debug & prod
Diffstat (limited to 'src')
-rw-r--r--src/H5HFiblock.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/H5HFiblock.c b/src/H5HFiblock.c
index 0742cfc..60f7404 100644
--- a/src/H5HFiblock.c
+++ b/src/H5HFiblock.c
@@ -545,13 +545,13 @@ H5HF_man_iblock_root_double(H5HF_hdr_t *hdr, hid_t dxpl_id, size_t min_dblock_si
* QAK - 3/14/2006
*/
/* Free previous indirect block disk space */
- old_iblock_size = iblock->size;
if(H5MF_xfree(hdr->f, H5FD_MEM_FHEAP_IBLOCK, dxpl_id, iblock->addr, (hsize_t)iblock->size) < 0)
HGOTO_ERROR(H5E_HEAP, H5E_CANTFREE, FAIL, "unable to free fractal heap indirect block file space")
} /* end if */
/* Compute size of buffer needed for new indirect block */
iblock->nrows = new_nrows;
+ old_iblock_size = iblock->size;
iblock->size = H5HF_MAN_INDIRECT_SIZE(hdr, iblock);
/* Allocate [temporary] space for the new indirect block on disk */