summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorAllen Byrne <50328838+byrnHDF@users.noreply.github.com>2021-02-17 14:54:58 (GMT)
committerGitHub <noreply@github.com>2021-02-17 14:54:58 (GMT)
commit9fced482f2079c5379bc2d8302bc65e1a4358012 (patch)
tree4de3c42e73549279a6b59f1c2cd01bf8ce16f56c /tools
parent58fd5053bf65be1856c36a638604c509a210a18e (diff)
downloadhdf5-9fced482f2079c5379bc2d8302bc65e1a4358012.zip
hdf5-9fced482f2079c5379bc2d8302bc65e1a4358012.tar.gz
hdf5-9fced482f2079c5379bc2d8302bc65e1a4358012.tar.bz2
1 12 merge recent changes from develop (#344)
* OESS-98 fix tools test for plugins * sync fork * Merge of changes from dev * Move problem option to bottom of the list until fixed * HDFFV-11106 - fix parsing optional args * HDFFV-11106 add note * grammer fix * Whitespace after clang formatting * Undo format version 11 changes * Update check to working version * Merge workflow and minor changes from develop * Update supported platforms * PR#3 merge from develop * Merge gcc 10 diagnostics option from develop * Merge #318 OSX changes from develop * Merge serval small changes from dev * fix typo
Diffstat (limited to 'tools')
-rw-r--r--tools/lib/h5tools_dump.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/tools/lib/h5tools_dump.c b/tools/lib/h5tools_dump.c
index 56ffd27..d5a9c1d 100644
--- a/tools/lib/h5tools_dump.c
+++ b/tools/lib/h5tools_dump.c
@@ -329,7 +329,7 @@ h5tools_dump_simple_data(FILE *stream, const h5tool_format_t *info, h5tools_cont
* Purpose: Print some values from an attribute referenced by object reference.
*
* Description:
- * This is a special case subfunction to dump aa attribute references.
+ * This is a special case subfunction to dump an attribute reference.
*
* Return:
* The function returns False if the last dimension has been reached, otherwise True
@@ -448,6 +448,9 @@ done:
if (H5Tclose(atype) < 0)
H5TOOLS_ERROR(dimension_break, "H5Tclose failed");
+ if (H5Sclose(region_space) < 0)
+ H5TOOLS_ERROR(dimension_break, "H5Sclose failed");
+
ctx->indent_level--;
ctx->need_prefix = TRUE;