summaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
authorMohamad Chaarawi <chaarawi@hdfgroup.org>2014-06-19 18:33:44 (GMT)
committerMohamad Chaarawi <chaarawi@hdfgroup.org>2014-06-19 18:33:44 (GMT)
commit36d512a1abb18196c655c627801d1e7a06a7eef7 (patch)
tree037d49be559001488b006dd3295b62ded9237f02 /examples
parent319151d9d03e152f81c9be4bd727b2af210e79e4 (diff)
downloadhdf5-36d512a1abb18196c655c627801d1e7a06a7eef7.zip
hdf5-36d512a1abb18196c655c627801d1e7a06a7eef7.tar.gz
hdf5-36d512a1abb18196c655c627801d1e7a06a7eef7.tar.bz2
[svn-r25331] fixed bug in attr get callbacks.
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);