summaryrefslogtreecommitdiffstats
path: root/test/th5s.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/th5s.c')
-rw-r--r--test/th5s.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/th5s.c b/test/th5s.c
index d0d176a..c17d96e 100644
--- a/test/th5s.c
+++ b/test/th5s.c
@@ -930,6 +930,10 @@ test_h5s_zero_dim(void)
}
}
+ /* Close attribute */
+ ret = H5Aclose(attr);
+ CHECK(ret, FAIL, "H5Aclose");
+
/*===============================================================
* Extend the dimension to make it a normal dataspace (3x15x13).
* Verify that data can be written to and read from the chunked