diff options
-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); |