summaryrefslogtreecommitdiffstats
path: root/test/dsets.c
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2016-04-19 14:25:49 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2016-04-19 14:25:49 (GMT)
commit5108468482c34ecb70109fe8060f74ed65c45261 (patch)
tree697e4d3474bc88ca0c40be32465c5ed28d1f42c2 /test/dsets.c
parentc02c88f87489605f38016a5c3e049133c5f0bfca (diff)
downloadhdf5-5108468482c34ecb70109fe8060f74ed65c45261.zip
hdf5-5108468482c34ecb70109fe8060f74ed65c45261.tar.gz
hdf5-5108468482c34ecb70109fe8060f74ed65c45261.tar.bz2
[svn-r29743] Description:
Close another FAPL in the test_missing_chunk() routine. Tested on: MacOSX/64 10.11.4 (amazon) w/serial, parallel & production (w/check-vfd) (h5committest forthcoming)
Diffstat (limited to 'test/dsets.c')
-rw-r--r--test/dsets.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/dsets.c b/test/dsets.c
index e095875..2ff8dda 100644
--- a/test/dsets.c
+++ b/test/dsets.c
@@ -6704,6 +6704,9 @@ test_missing_chunk(hid_t file)
/* Get library format */
if(H5Pget_libver_bounds(fapl, &low, NULL) < 0) TEST_ERROR;
+ /* Close FAPL */
+ if(H5Pclose(fapl) < 0) TEST_ERROR
+
/* Initialize data for 1-D dataset */
for(u = 0; u < MISSING_CHUNK_DIM; u++) {
wdata[u] = (int)u;
@@ -6829,6 +6832,8 @@ test_missing_chunk(hid_t file)
error:
H5E_BEGIN_TRY {
+ H5Pclose(fapl);
+
H5Pclose(dcpl);
H5Pclose(dcpl2);
H5Dclose(d);