summaryrefslogtreecommitdiffstats
path: root/testpar
diff options
context:
space:
mode:
authorJordan Henderson <jhenderson@hdfgroup.org>2020-04-09 19:23:50 (GMT)
committerJordan Henderson <jhenderson@hdfgroup.org>2020-04-09 19:23:50 (GMT)
commite1508b7695986cbea44b1db07898c23b0c00e4e7 (patch)
treee19af0b8d820ff443f46891980df7417e2eca042 /testpar
parentb27a20f8c0e286ea7c2836605632ea2ee5522d03 (diff)
downloadhdf5-e1508b7695986cbea44b1db07898c23b0c00e4e7.zip
hdf5-e1508b7695986cbea44b1db07898c23b0c00e4e7.tar.gz
hdf5-e1508b7695986cbea44b1db07898c23b0c00e4e7.tar.bz2
Fix memory leak in t_span_tree.c test
Diffstat (limited to 'testpar')
-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);