mirror of
https://github.com/HDFGroup/hdf5.git
synced 2024-11-27 02:10:55 +08:00
[svn-r6907] Purpose:
Bug fix Description: The chunk dataspace selection information for raw data I/O are being leaked. Solution: Free the chunk information during the cleanup code. Platforms tested: Solaris 2.6 (baldric) w/purify h5committest not needed.
This commit is contained in:
parent
09ac3905b7
commit
2e3cd3e57b
@ -2404,8 +2404,12 @@ H5D_free_fchunk_info(void *_fchunk_info)
|
||||
|
||||
assert(fchunk_info);
|
||||
|
||||
/* Close the chunk's dataspace */
|
||||
H5S_close(fchunk_info->space);
|
||||
|
||||
/* Free the actual chunk info */
|
||||
H5FL_FREE(H5D_fchunk_info_t,fchunk_info);
|
||||
|
||||
FUNC_LEAVE_NOAPI_VOID;
|
||||
} /* H5D_free_fchunk_info() */
|
||||
|
||||
@ -2437,8 +2441,12 @@ H5D_free_mchunk_info(void *_mchunk_info)
|
||||
|
||||
assert(mchunk_info);
|
||||
|
||||
/* Close the chunk's dataspace */
|
||||
H5S_close(mchunk_info->space);
|
||||
|
||||
/* Free the actual chunk info */
|
||||
H5FL_FREE(H5D_mchunk_info_t,mchunk_info);
|
||||
|
||||
FUNC_LEAVE_NOAPI_VOID;
|
||||
} /* H5D_free_mchunk_info() */
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user