From 6ce67650fbaa78b37ccb0734fb97bf34d3770af6 Mon Sep 17 00:00:00 2001 From: Quincey Koziol Date: Mon, 18 Apr 2016 21:42:30 -0500 Subject: [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) --- test/dsets.c | 5 +++++ 1 file changed, 5 insertions(+) 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); -- cgit v0.12