summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJordan Henderson <jhenderson@hdfgroup.org>2020-04-09 20:58:36 (GMT)
committerJordan Henderson <jhenderson@hdfgroup.org>2020-04-09 20:58:36 (GMT)
commite372c8e648d87471ddf5d4ffaa9416f2c84e393f (patch)
treec35b53ff5735fd2ce09b1cc7c5ffa3b076705805
parent7cf36ea7c3142b5246c102560ef439aef0a441c5 (diff)
parent65a704167c83c3fa8d5cc05e4ac7e032a051151c (diff)
downloadhdf5-e372c8e648d87471ddf5d4ffaa9416f2c84e393f.zip
hdf5-e372c8e648d87471ddf5d4ffaa9416f2c84e393f.tar.gz
hdf5-e372c8e648d87471ddf5d4ffaa9416f2c84e393f.tar.bz2
Merge pull request #2505 in HDFFV/hdf5 from ~JHENDERSON/hdf5:develop to develop
* commit '65a704167c83c3fa8d5cc05e4ac7e032a051151c': Fix memory leak in t_span_tree.c test
-rw-r--r--testpar/t_span_tree.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/testpar/t_span_tree.c b/testpar/t_span_tree.c
index fe8a618..8d2b61c 100644
--- a/testpar/t_span_tree.c
+++ b/testpar/t_span_tree.c
@@ -867,6 +867,12 @@ coll_read_test(void)
VRFY((ret >= 0),"H5D contiguous irregular collective read succeed");
/*
+ * Free read buffers.
+ */
+ HDfree(matrix_out);
+ HDfree(matrix_out1);
+
+ /*
* Close memory file and memory dataspaces.
*/
ret = H5Sclose(mspaceid);