summaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
Diffstat (limited to 'examples')
-rw-r--r--examples/h5ff_client_attr.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/examples/h5ff_client_attr.c b/examples/h5ff_client_attr.c
index 46fff84..200b7c0 100644
--- a/examples/h5ff_client_attr.c
+++ b/examples/h5ff_client_attr.c
@@ -171,6 +171,14 @@ int main(int argc, char **argv) {
H5Sclose(sid2);
+ {
+ hid_t temp_sid;
+
+ temp_sid = H5Aget_space(aid5);
+ assert(temp_sid > 0);
+ H5Sclose(temp_sid);
+ }
+
ret = H5Aclose_ff(aid1, e_stack);
assert(ret == 0);