diff options
author | Jordan Henderson <jhenderson@hdfgroup.org> | 2020-04-09 19:23:50 (GMT) |
---|---|---|
committer | Jordan Henderson <jhenderson@hdfgroup.org> | 2020-04-09 19:23:50 (GMT) |
commit | e1508b7695986cbea44b1db07898c23b0c00e4e7 (patch) | |
tree | e19af0b8d820ff443f46891980df7417e2eca042 /testpar | |
parent | b27a20f8c0e286ea7c2836605632ea2ee5522d03 (diff) | |
download | hdf5-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.c | 6 |
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); |