mirror of
https://github.com/HDFGroup/hdf5.git
synced 2025-01-24 15:25:00 +08:00
[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
This commit is contained in:
parent
49a6f7174d
commit
9ef21822f5
@ -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 */
|
||||
|
Loading…
Reference in New Issue
Block a user