diff options
author | Allen Byrne <50328838+byrnHDF@users.noreply.github.com> | 2021-10-03 13:06:08 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-10-03 13:06:08 (GMT) |
commit | eca8d5b767b40df359e7654fc92f00c516947f7f (patch) | |
tree | fef81ee315865f4f11b548c572b5f39a7575468d /tools/src/h5dump | |
parent | b3cb56e2550958da00826a25580621cdbd28d91a (diff) | |
download | hdf5-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/src/h5dump')
-rw-r--r-- | tools/src/h5dump/h5dump.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/tools/src/h5dump/h5dump.c b/tools/src/h5dump/h5dump.c index e6d1de3..23498bd 100644 --- a/tools/src/h5dump/h5dump.c +++ b/tools/src/h5dump/h5dump.c @@ -465,11 +465,8 @@ table_list_free(void) /* Free each table */ free_table(table_list.tables[u].group_table); - HDfree(table_list.tables[u].group_table); free_table(table_list.tables[u].dset_table); - HDfree(table_list.tables[u].dset_table); free_table(table_list.tables[u].type_table); - HDfree(table_list.tables[u].type_table); } /* Free the table list */ |