summaryrefslogtreecommitdiffstats
path: root/tools/lib
diff options
context:
space:
mode:
authorAllen Byrne <byrn@hdfgroup.org>2017-10-19 21:51:43 (GMT)
committerAllen Byrne <byrn@hdfgroup.org>2017-10-19 21:51:43 (GMT)
commit8e30e7eb19d251089e44256ec5d409badbaf4b39 (patch)
tree90419f199e85703ca3ea3bc5b1b91b072d3d1398 /tools/lib
parentafeaceef5fe47a82cf7dbf536dbbe45cbda72500 (diff)
downloadhdf5-8e30e7eb19d251089e44256ec5d409badbaf4b39.zip
hdf5-8e30e7eb19d251089e44256ec5d409badbaf4b39.tar.gz
hdf5-8e30e7eb19d251089e44256ec5d409badbaf4b39.tar.bz2
Avoid double free
Diffstat (limited to 'tools/lib')
-rw-r--r--tools/lib/h5diff_array.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/tools/lib/h5diff_array.c b/tools/lib/h5diff_array.c
index 54b9109..11f5e41 100644
--- a/tools/lib/h5diff_array.c
+++ b/tools/lib/h5diff_array.c
@@ -4258,9 +4258,6 @@ int ull2float(unsigned long long ull_value, float *f_value)
HDmemcpy(f_value, buf, dst_size);
- if (buf)
- HDfree(buf);
-
done:
H5E_BEGIN_TRY {
H5Pclose(dxpl_id);