From 463515f7db9b5dd32c6746488e18760525d33568 Mon Sep 17 00:00:00 2001 From: Binh-Minh Ribler Date: Mon, 7 Jan 2019 14:00:56 -0600 Subject: Removed the previous change in table_list_add() --- tools/src/h5dump/h5dump.c | 3 +-- 1 file changed, 1 insertion(+), 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 -- cgit v0.12