summaryrefslogtreecommitdiffstats
path: root/src/H5T.c
diff options
context:
space:
mode:
authorRaymond Lu <songyulu@hdfgroup.org>2003-05-07 22:30:56 (GMT)
committerRaymond Lu <songyulu@hdfgroup.org>2003-05-07 22:30:56 (GMT)
commit546dea5dd91434a5c68f89a95e47c541c9ddb637 (patch)
tree035742e699568931667dd2635b2c75984358dcda /src/H5T.c
parent401c1bc31813f5b44d575823a2c28175bb4e86a0 (diff)
downloadhdf5-546dea5dd91434a5c68f89a95e47c541c9ddb637.zip
hdf5-546dea5dd91434a5c68f89a95e47c541c9ddb637.tar.gz
hdf5-546dea5dd91434a5c68f89a95e47c541c9ddb637.tar.bz2
[svn-r6828] Purpose: bug fix
Description: H5T_XXX_init_interface calls H5T_init_interface causing datatype not closed after file is closed. Solution: changed H5T_init_interface to H5T_init Platforms tested: h5committest
Diffstat (limited to 'src/H5T.c')
-rw-r--r--src/H5T.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/H5T.c b/src/H5T.c
index 9ab8111..c3cb76a 100644
--- a/src/H5T.c
+++ b/src/H5T.c
@@ -1890,7 +1890,7 @@ H5T_unlock_cb (void *_dt, hid_t UNUSED id, const void UNUSED *key)
int
H5T_term_interface(void)
{
- int i, nprint=0, n=0;
+ int i, j, nprint=0, n=0;
H5T_path_t *path = NULL;
FUNC_ENTER_NOINIT(H5T_term_interface);
@@ -1900,7 +1900,6 @@ H5T_term_interface(void)
for (i=0; i<H5T_g.npaths; i++) {
path = H5T_g.path[i];
assert (path);
-
if (path->func) {
H5T_print_stats(path, &nprint/*in,out*/);
path->cdata.command = H5T_CONV_FREE;
@@ -1917,6 +1916,7 @@ H5T_term_interface(void)
H5E_clear(); /*ignore the error*/
}
}
+
H5T_close (path->src);
H5T_close (path->dst);
H5FL_FREE(H5T_path_t,path);