summaryrefslogtreecommitdiffstats
path: root/test/dsets.c
diff options
context:
space:
mode:
authorRobb Matzke <matzke@llnl.gov>1998-05-01 05:16:50 (GMT)
committerRobb Matzke <matzke@llnl.gov>1998-05-01 05:16:50 (GMT)
commit65bb86375cfecac3e95ad1285db627a4a19eaabb (patch)
tree48151aa76db2a93929e682f3e7626d1b881364ca /test/dsets.c
parent59ea5ff28fb23ab4bd00f36da3268b2a0518c42c (diff)
downloadhdf5-65bb86375cfecac3e95ad1285db627a4a19eaabb.zip
hdf5-65bb86375cfecac3e95ad1285db627a4a19eaabb.tar.gz
hdf5-65bb86375cfecac3e95ad1285db627a4a19eaabb.tar.bz2
[svn-r383] ./src/H5A.c
./src/H5F.c ./src/H5G.c ./src/H5O.c ./src/H5Osdspace.c ./src/H5T.c ./src/H5Tconv.c ./src/H5Z.c ./test/big.c ./test/cmpd_dset.c ./test/dsets.c ./test/extend.c ./test/istore.c Now that I have a home-grown version of Purify I fixed all the leaks in all the test files.
Diffstat (limited to 'test/dsets.c')
-rw-r--r--test/dsets.c9
1 files changed, 8 insertions, 1 deletions
diff --git a/test/dsets.c b/test/dsets.c
index 6a6a92d..c532954 100644
--- a/test/dsets.c
+++ b/test/dsets.c
@@ -165,6 +165,7 @@ test_create(hid_t file)
dataset = H5Dcreate(file, DSET_CHUNKED_NAME, H5T_NATIVE_DOUBLE, space,
create_parms);
if (dataset < 0) goto error;
+ H5Pclose (create_parms);
/*
* Close the chunked dataset.
@@ -257,8 +258,9 @@ test_simple_io(hid_t file)
}
}
+ H5Pclose (xfer);
H5Dclose(dataset);
-
+ free (tconv_buf);
puts(" PASSED");
return 0;
@@ -350,6 +352,8 @@ test_tconv(hid_t file)
H5Dclose(dataset);
H5Tclose(type);
+ free (out);
+ free (in);
puts(" PASSED");
return 0;
@@ -656,7 +660,10 @@ test_compression(hid_t file)
* Cleanup
*----------------------------------------------------------------------
*/
+ H5Pclose (xfer);
+ H5Pclose (dc);
H5Dclose(dataset);
+ free (tconv_buf);
return 0;
error: