diff options
author | Binh-Minh Ribler <bmribler@hdfgroup.org> | 2019-01-07 20:00:56 (GMT) |
---|---|---|
committer | Binh-Minh Ribler <bmribler@hdfgroup.org> | 2019-01-07 20:00:56 (GMT) |
commit | 463515f7db9b5dd32c6746488e18760525d33568 (patch) | |
tree | 15f1895cd03503bab15ee5f893ee0fc3bdf2a5f4 | |
parent | 820d8e34c5845f85690a4d65ca31b21fdcfd23cf (diff) | |
download | hdf5-463515f7db9b5dd32c6746488e18760525d33568.zip hdf5-463515f7db9b5dd32c6746488e18760525d33568.tar.gz hdf5-463515f7db9b5dd32c6746488e18760525d33568.tar.bz2 |
Removed the previous change in table_list_add()
-rw-r--r-- | tools/src/h5dump/h5dump.c | 3 |
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 |