Removed the previous change in table_list_add()

This commit is contained in:
Binh-Minh Ribler
2019-01-07 14:00:56 -06:00
parent 820d8e34c5
commit 463515f7db

View File

@@ -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