summaryrefslogtreecommitdiffstats
path: root/src/H5Fint.c
diff options
context:
space:
mode:
authorDana Robinson <derobins@hdfgroup.org>2020-01-31 00:31:11 (GMT)
committerDana Robinson <derobins@hdfgroup.org>2020-01-31 00:31:11 (GMT)
commit88b4c915e88681557e23702c571b458763a294b2 (patch)
tree65195b2c6ee9c29fe0eaab1807d0c43b6ca56997 /src/H5Fint.c
parent9da387342eea566659daed83c850220cee041059 (diff)
downloadhdf5-88b4c915e88681557e23702c571b458763a294b2.zip
hdf5-88b4c915e88681557e23702c571b458763a294b2.tar.gz
hdf5-88b4c915e88681557e23702c571b458763a294b2.tar.bz2
Updated the 'const memory free' changes based on PR feedback.
Diffstat (limited to 'src/H5Fint.c')
-rw-r--r--src/H5Fint.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/H5Fint.c b/src/H5Fint.c
index 74189c1..0000512 100644
--- a/src/H5Fint.c
+++ b/src/H5Fint.c
@@ -273,7 +273,7 @@ H5F_get_access_plist(H5F_t *f, hbool_t app_ref)
done:
/* Release the copy of the driver info, if it was set up */
- if(driver_prop_copied && H5FD_fapl_close(driver_prop.driver_id, driver_prop.driver_info) < 0)
+ if(driver_prop_copied && H5FD_free_driver_info(driver_prop.driver_id, driver_prop.driver_info) < 0)
HDONE_ERROR(H5E_FILE, H5E_CANTCLOSEOBJ, H5I_INVALID_HID, "can't close copy of driver info")
FUNC_LEAVE_NOAPI(ret_value)