summaryrefslogtreecommitdiffstats
path: root/tools/lib/h5tools.h
diff options
context:
space:
mode:
authorAllen Byrne <byrn@hdfgroup.org>2011-03-09 20:00:20 (GMT)
committerAllen Byrne <byrn@hdfgroup.org>2011-03-09 20:00:20 (GMT)
commit5b3223c7c569a3a20103c36ea8b38ae744033d2b (patch)
tree09ae2b7745a4c963c389fca86b3e3a4ae1f1d3ab /tools/lib/h5tools.h
parent2a492f23a1bfc25169dc6f063afaf6dd20d0e749 (diff)
downloadhdf5-5b3223c7c569a3a20103c36ea8b38ae744033d2b.zip
hdf5-5b3223c7c569a3a20103c36ea8b38ae744033d2b.tar.gz
hdf5-5b3223c7c569a3a20103c36ea8b38ae744033d2b.tar.bz2
[svn-r20216] Valgrind fix for memory leak in h5tools_dump_xxx which is fixed by adding a new function;
htri_t H5Tdetect_vlen_str(hid_t tid) to h5tools. This needs to be called before any H5Aread/H5Dread and if TRUE, then call vlen_reclaim function after the corresponding h5tools_dump_xxx(). Tested: local linux and valgrind
Diffstat (limited to 'tools/lib/h5tools.h')
-rw-r--r--tools/lib/h5tools.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/lib/h5tools.h b/tools/lib/h5tools.h
index b3e3dd2..9c100ea 100644
--- a/tools/lib/h5tools.h
+++ b/tools/lib/h5tools.h
@@ -553,6 +553,7 @@ H5TOOLS_DLL hid_t h5tools_get_native_type(hid_t type);
H5TOOLS_DLL hid_t h5tools_get_little_endian_type(hid_t type);
H5TOOLS_DLL hid_t h5tools_get_big_endian_type(hid_t type);
+H5TOOLS_DLL htri_t H5Tdetect_vlen_str(hid_t tid);
H5TOOLS_DLL void h5tools_dump_simple_data(FILE *stream, const h5tool_format_t *info, hid_t container,
h5tools_context_t *ctx/*in,out*/, unsigned flags,