diff options
author | Mike McGreevy <mamcgree@hdfgroup.org> | 2010-05-14 18:44:36 (GMT) |
---|---|---|
committer | Mike McGreevy <mamcgree@hdfgroup.org> | 2010-05-14 18:44:36 (GMT) |
commit | ed4885a4852259db08b923eb12cec42cb24cd5c2 (patch) | |
tree | 0ed00416dfacee1323445e412559a17dfd277ad8 /src/H5Tprivate.h | |
parent | 3cd3de7612a9758b6a89f09ad48da2c70c62f76a (diff) | |
download | hdf5-ed4885a4852259db08b923eb12cec42cb24cd5c2.zip hdf5-ed4885a4852259db08b923eb12cec42cb24cd5c2.tar.gz hdf5-ed4885a4852259db08b923eb12cec42cb24cd5c2.tar.bz2 |
[svn-r18804] Purpose:
Fix memory leaks
Description
Added a routine to free memory which addresses a memory leak
when variable length strings are used as fill values.
Tested:
h5committest and valgrind (on jam/amani) to confirm freed memory.
Diffstat (limited to 'src/H5Tprivate.h')
-rw-r--r-- | src/H5Tprivate.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/H5Tprivate.h b/src/H5Tprivate.h index afa6ceb..c70eea0 100644 --- a/src/H5Tprivate.h +++ b/src/H5Tprivate.h @@ -129,6 +129,7 @@ H5_DLL herr_t H5T_convert(H5T_path_t *tpath, hid_t src_id, hid_t dst_id, size_t nelmts, size_t buf_stride, size_t bkg_stride, void *buf, void *bkg, hid_t dset_xfer_plist); H5_DLL herr_t H5T_vlen_reclaim(void *elem, hid_t type_id, unsigned ndim, const hsize_t *point, void *_op_data); +H5_DLL herr_t H5T_vlen_reclaim_elmt(void *elem, H5T_t *dt, hid_t dxpl_id); H5_DLL herr_t H5T_vlen_get_alloc_info(hid_t dxpl_id, H5T_vlen_alloc_info_t **vl_alloc_info); H5_DLL htri_t H5T_set_loc(H5T_t *dt, H5F_t *f, H5T_loc_t loc); H5_DLL htri_t H5T_is_sensible(const H5T_t *dt); |