diff options
author | Jerome Soumagne <jsoumagne@hdfgroup.org> | 2019-08-14 19:41:14 (GMT) |
---|---|---|
committer | Jerome Soumagne <jsoumagne@hdfgroup.org> | 2019-08-14 19:46:39 (GMT) |
commit | 7f5a5020c8ec882e6b7eceab878470003e2a8b63 (patch) | |
tree | 107d6a49588c1e6167c17433caa06e2876552123 /src/H5I.c | |
parent | 2b72832d97496290f74ccaffcda41c3e596f8f49 (diff) | |
download | hdf5-7f5a5020c8ec882e6b7eceab878470003e2a8b63.zip hdf5-7f5a5020c8ec882e6b7eceab878470003e2a8b63.tar.gz hdf5-7f5a5020c8ec882e6b7eceab878470003e2a8b63.tar.bz2 |
Fix H5F_get_file_id and H5F__get_file_id to take app_ref parameter
Fix app_ref_count from being incremented when private routines are used
Diffstat (limited to 'src/H5I.c')
-rw-r--r-- | src/H5I.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -2219,7 +2219,7 @@ H5Iget_file_id(hid_t obj_id) /* Call internal function */ if (H5I_FILE == type || H5I_DATATYPE == type || H5I_GROUP == type || H5I_DATASET == type || H5I_ATTR == type) { - if ((ret_value = H5F_get_file_id(obj_id, type)) < 0) + if ((ret_value = H5F_get_file_id(obj_id, type, TRUE)) < 0) HGOTO_ERROR(H5E_ATOM, H5E_CANTGET, H5I_INVALID_HID, "can't retrieve file ID") } /* end if */ else |