summaryrefslogtreecommitdiffstats
path: root/testpar
diff options
context:
space:
mode:
authorDana Robinson <derobins@hdfgroup.org>2019-06-21 20:18:09 (GMT)
committerDana Robinson <derobins@hdfgroup.org>2019-06-21 20:18:09 (GMT)
commitb4bd49ffdd5e313cd840698709f44f05ea323104 (patch)
tree32798251eb4e916c94fdb40ad00222925de311b4 /testpar
parent5fc5d947f084d1ef5d4c4a0bc2be55baa181f0fa (diff)
downloadhdf5-b4bd49ffdd5e313cd840698709f44f05ea323104.zip
hdf5-b4bd49ffdd5e313cd840698709f44f05ea323104.tar.gz
hdf5-b4bd49ffdd5e313cd840698709f44f05ea323104.tar.bz2
Fixed some low-hanging fruit from -fsanitize in t_filters_parallel.
Diffstat (limited to 'testpar')
-rw-r--r--testpar/t_filters_parallel.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/testpar/t_filters_parallel.c b/testpar/t_filters_parallel.c
index 1f26e0d..db5bd13 100644
--- a/testpar/t_filters_parallel.c
+++ b/testpar/t_filters_parallel.c
@@ -3683,6 +3683,8 @@ test_read_filtered_dataset_point_selection(void)
if (read_buf) HDfree(read_buf);
if (correct_buf) HDfree(correct_buf);
+ HDfree(coords);
+
VRFY((H5Dclose(dset_id) >= 0), "Dataset close succeeded");
VRFY((H5Sclose(filespace) >= 0), "File dataspace close succeeded");
VRFY((H5Sclose(memspace) >= 0), "Memory dataspace close succeeded");
@@ -5791,6 +5793,9 @@ test_write_parallel_read_serial(void)
VRFY((H5Dclose(dset_id) >= 0), "Dataset close succeeded");
VRFY((H5Fclose(file_id) >= 0), "File close succeeded");
+
+ HDfree(correct_buf);
+ HDfree(read_buf);
}
return;