diff options
Diffstat (limited to 'tools/lib')
-rw-r--r-- | tools/lib/h5tools_utils.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/lib/h5tools_utils.c b/tools/lib/h5tools_utils.c index b33ba13..e7e017f 100644 --- a/tools/lib/h5tools_utils.c +++ b/tools/lib/h5tools_utils.c @@ -580,7 +580,7 @@ init_objs(hid_t fid, find_objs_t *info, table_t **group_table, done: /* Release resources */ - if(ret_value == FAIL) { + if(ret_value < 0) { free_table(*group_table); info->group_table = NULL; free_table(*type_table); |