diff options
author | Robb Matzke <matzke@llnl.gov> | 1998-05-01 05:16:50 (GMT) |
---|---|---|
committer | Robb Matzke <matzke@llnl.gov> | 1998-05-01 05:16:50 (GMT) |
commit | 65bb86375cfecac3e95ad1285db627a4a19eaabb (patch) | |
tree | 48151aa76db2a93929e682f3e7626d1b881364ca /test/big.c | |
parent | 59ea5ff28fb23ab4bd00f36da3268b2a0518c42c (diff) | |
download | hdf5-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/big.c')
-rw-r--r-- | test/big.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -68,6 +68,7 @@ writer (int wrt_n) plist = H5Pcreate (H5P_FILE_ACCESS); H5Pset_family (plist, 30, H5P_DEFAULT); file = H5Fcreate (FNAME, H5F_ACC_TRUNC, H5P_DEFAULT, plist); + H5Pclose (plist); /* Create simple data spaces according to the size specified above. */ space1 = H5Screate_simple (4, size1, size1); @@ -132,6 +133,7 @@ reader (const char *script_name) plist = H5Pcreate (H5P_FILE_ACCESS); H5Pset_family (plist, 30, H5P_DEFAULT); file = H5Fopen (FNAME, H5F_ACC_RDONLY, plist); + H5Pclose (plist); /* Open the dataset */ d2 = H5Dopen (file, "d2"); @@ -169,6 +171,7 @@ reader (const char *script_name) H5Sclose (mspace); H5Sclose (fspace); H5Fclose (file); + free (buf); fclose (script); } |