mirror of
https://github.com/HDFGroup/hdf5.git
synced 2025-04-18 17:40:55 +08:00
[svn-r29736] Description:
Close FAPL that was leaked in zero_dims test. Tested on: MacOSX/64 10.11.4 (amazon) w/serial, parallel & production, including check-vfd (h5committest forthcoming)
This commit is contained in:
parent
062055fe60
commit
6ce67650fb
@ -6519,6 +6519,9 @@ test_zero_dims(hid_t file)
|
||||
/* Get library format */
|
||||
if(H5Pget_libver_bounds(fapl, &low, NULL) < 0) FAIL_STACK_ERROR
|
||||
|
||||
/* Close FAPL */
|
||||
if(H5Pclose(fapl) < 0) TEST_ERROR
|
||||
|
||||
/*
|
||||
* One-dimensional dataset
|
||||
*/
|
||||
@ -6631,6 +6634,8 @@ test_zero_dims(hid_t file)
|
||||
|
||||
error:
|
||||
H5E_BEGIN_TRY {
|
||||
H5Pclose(fapl);
|
||||
|
||||
H5Pclose(dcpl);
|
||||
H5Dclose(d);
|
||||
H5Sclose(s);
|
||||
|
Loading…
x
Reference in New Issue
Block a user