summaryrefslogtreecommitdiffstats
path: root/tools/lib
diff options
context:
space:
mode:
authorAllen Byrne <50328838+byrnHDF@users.noreply.github.com>2021-10-03 13:06:08 (GMT)
committerGitHub <noreply@github.com>2021-10-03 13:06:08 (GMT)
commiteca8d5b767b40df359e7654fc92f00c516947f7f (patch)
treefef81ee315865f4f11b548c572b5f39a7575468d /tools/lib
parentb3cb56e2550958da00826a25580621cdbd28d91a (diff)
downloadhdf5-eca8d5b767b40df359e7654fc92f00c516947f7f.zip
hdf5-eca8d5b767b40df359e7654fc92f00c516947f7f.tar.gz
hdf5-eca8d5b767b40df359e7654fc92f00c516947f7f.tar.bz2
Fix ASAN issue in h5dump error path (#1051)
* Fix ASAN issue in h5dump error path * Rework error allocation free.
Diffstat (limited to 'tools/lib')
-rw-r--r--tools/lib/h5tools_utils.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/lib/h5tools_utils.c b/tools/lib/h5tools_utils.c
index f2407bf..ea9812b 100644
--- a/tools/lib/h5tools_utils.c
+++ b/tools/lib/h5tools_utils.c
@@ -450,6 +450,7 @@ free_table(table_t *table)
HDfree(table->objs[u].objname);
HDfree(table->objs);
+ HDfree(table);
}
#ifdef H5DUMP_DEBUG