summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorBinh-Minh Ribler <bmribler@hdfgroup.org>2019-01-07 20:00:56 (GMT)
committerBinh-Minh Ribler <bmribler@hdfgroup.org>2019-01-07 20:00:56 (GMT)
commit463515f7db9b5dd32c6746488e18760525d33568 (patch)
tree15f1895cd03503bab15ee5f893ee0fc3bdf2a5f4 /tools
parent820d8e34c5845f85690a4d65ca31b21fdcfd23cf (diff)
downloadhdf5-463515f7db9b5dd32c6746488e18760525d33568.zip
hdf5-463515f7db9b5dd32c6746488e18760525d33568.tar.gz
hdf5-463515f7db9b5dd32c6746488e18760525d33568.tar.bz2
Removed the previous change in table_list_add()
Diffstat (limited to 'tools')
-rw-r--r--tools/src/h5dump/h5dump.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/tools/src/h5dump/h5dump.c b/tools/src/h5dump/h5dump.c
index 5267188..52158fb 100644
--- a/tools/src/h5dump/h5dump.c
+++ b/tools/src/h5dump/h5dump.c
@@ -407,10 +407,9 @@ table_list_add(hid_t oid, unsigned long file_no)
}
if(init_objs(oid, &info, &table_list.tables[idx].group_table,
&table_list.tables[idx].dset_table, &table_list.tables[idx].type_table) < 0) {
- if (H5Idec_ref(oid) < 0) {
+ H5Idec_ref(oid);
table_list.nused--;
return -1;
- }
}
#ifdef H5DUMP_DEBUG