Frees memory allocated by the HDF5 library
Procedure:
Signature:
herr_t H5free_memory
(
void *buf
)
Parameters:
void *mem | IN: Buffer to be freed. Can be NULL |
Description:
H5_FREE_MEMORY frees memory that has been allocated by the caller with H5_ALLOCATE_MEMORY or by the HDF5 library on behalf of the caller.
H5T_GET_MEMBER_NAME provides an example of memory allocation on behalf of the caller: The function returns a buffer containing the name of a compound datatype member. It is the caller’s responsibility to eventually free that buffer with H5_FREE_MEMORY.
Returns:
Returns a non-negative value if successful. Otherwise returns a negative value.
Example:
See Also:
History:
Release | Change |
---|
1.8.13 | C function introduced with this release. |
--- Last Modified: July 25, 2019 | 02:13 PM