diff options
author | Quincey Koziol <koziol@hdfgroup.org> | 2016-04-19 02:42:30 (GMT) |
---|---|---|
committer | Quincey Koziol <koziol@hdfgroup.org> | 2016-04-19 02:42:30 (GMT) |
commit | 6ce67650fbaa78b37ccb0734fb97bf34d3770af6 (patch) | |
tree | 6bb2571d31f5c122d35a667a2c0f413d2c169240 /test/dsets.c | |
parent | 062055fe604c7c25f10920ee5097fa00bfb2d905 (diff) | |
download | hdf5-6ce67650fbaa78b37ccb0734fb97bf34d3770af6.zip hdf5-6ce67650fbaa78b37ccb0734fb97bf34d3770af6.tar.gz hdf5-6ce67650fbaa78b37ccb0734fb97bf34d3770af6.tar.bz2 |
[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)
Diffstat (limited to 'test/dsets.c')
-rw-r--r-- | test/dsets.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/test/dsets.c b/test/dsets.c index 4f124f2..bd683d1 100644 --- a/test/dsets.c +++ b/test/dsets.c @@ -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); |