summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorAllen Byrne <byrn@hdfgroup.org>2020-10-21 12:19:03 (GMT)
committerAllen Byrne <byrn@hdfgroup.org>2020-10-21 12:19:03 (GMT)
commiteecc0085171d0abe87e848b368be8a9bd7b25776 (patch)
tree97ea3df89319a0f3e596396f5f164f1be4ce61c5 /test
parent83b87f60501ea71119be05c3254d833b53701cdb (diff)
downloadhdf5-eecc0085171d0abe87e848b368be8a9bd7b25776.zip
hdf5-eecc0085171d0abe87e848b368be8a9bd7b25776.tar.gz
hdf5-eecc0085171d0abe87e848b368be8a9bd7b25776.tar.bz2
Close test allocations
Diffstat (limited to 'test')
-rw-r--r--test/vds.c14
1 files changed, 14 insertions, 0 deletions
diff --git a/test/vds.c b/test/vds.c
index aa292a3..5bbb4fe 100644
--- a/test/vds.c
+++ b/test/vds.c
@@ -3543,6 +3543,13 @@ test_basic_io(unsigned config, hid_t fapl)
TEST_ERROR
dcpl = -1;
+ HDfree(srcfilename);
+ HDfree(srcfilename_map);
+ HDfree(vfilename);
+ HDfree(vfilename2);
+ HDfree(srcfilenamepct);
+ HDfree(srcfilenamepct_map);
+
PASSED();
return 0;
@@ -3565,6 +3572,13 @@ error:
}
H5E_END_TRY;
+ HDfree(srcfilename);
+ HDfree(srcfilename_map);
+ HDfree(vfilename);
+ HDfree(vfilename2);
+ HDfree(srcfilenamepct);
+ HDfree(srcfilenamepct_map);
+
return 1;
} /* end test_basic_io() */