diff options
author | Quincey Koziol <koziol@hdfgroup.org> | 2010-05-17 19:29:21 (GMT) |
---|---|---|
committer | Quincey Koziol <koziol@hdfgroup.org> | 2010-05-17 19:29:21 (GMT) |
commit | c47a15cb54897b8de3d0230f91fda9029bcc03d5 (patch) | |
tree | e77c73e050e38388398e1e9f659b487a271f48b6 | |
parent | 7144b18c76d32ebe73cb64ae30c143ce47f1a574 (diff) | |
download | hdf5-c47a15cb54897b8de3d0230f91fda9029bcc03d5.zip hdf5-c47a15cb54897b8de3d0230f91fda9029bcc03d5.tar.gz hdf5-c47a15cb54897b8de3d0230f91fda9029bcc03d5.tar.bz2 |
[svn-r18828] 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
-rw-r--r-- | src/H5HFiblock.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/H5HFiblock.c b/src/H5HFiblock.c index 73ef6bf..8f2defd 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 */ |