summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--tools/h5tools.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/tools/h5tools.c b/tools/h5tools.c
index c55c138..ed2ec14 100644
--- a/tools/h5tools.c
+++ b/tools/h5tools.c
@@ -1946,6 +1946,9 @@ h5dump_dset(FILE *stream, const h5dump_t *info, hid_t dset, hid_t _p_type,
indentlevel);
}
+ /* Close the dataspace */
+ H5Sclose(f_space);
+
done:
if (p_type != _p_type)
H5Tclose(p_type);