summaryrefslogtreecommitdiffstats
path: root/src/H5T.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 /src/H5T.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 'src/H5T.c')
-rw-r--r--src/H5T.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/H5T.c b/src/H5T.c
index c2c6d9f..8648a4e 100644
--- a/src/H5T.c
+++ b/src/H5T.c
@@ -342,6 +342,8 @@ H5T_term_interface(void)
path->cdata.stats->timer.etime,
nbytes / path->cdata.stats->timer.etime);
#endif
+ H5T_close (path->src);
+ H5T_close (path->dst);
H5MM_xfree (path->cdata.stats);
}
}
@@ -2765,7 +2767,10 @@ H5T_close(H5T_t *dt)
assert(dt);
- /* Don't free locked datatypes unless we are shutting the interface down */
+ /*
+ * Don't free locked datatypes unless we are shutting the interface
+ * down.
+ */
if (!dt->locked) {
if (dt && H5T_COMPOUND == dt->type) {
for (i = 0; i < dt->u.compnd.nmembs; i++) {