summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJordan Henderson <jhenderson@hdfgroup.org>2020-04-09 19:23:50 (GMT)
committerDavid Young <dyoung@hdfgroup.org>2020-05-20 14:31:58 (GMT)
commit14bb06448b581710d2667de7b9207205c3d64783 (patch)
tree64dc859ddb1e1541abb669583aa8775450d7d355
parentb46882fb0ad130b297e6e9642a049758f793ffab (diff)
downloadhdf5-14bb06448b581710d2667de7b9207205c3d64783.zip
hdf5-14bb06448b581710d2667de7b9207205c3d64783.tar.gz
hdf5-14bb06448b581710d2667de7b9207205c3d64783.tar.bz2
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);