summaryrefslogtreecommitdiffstats
path: root/src/H5T.c
diff options
context:
space:
mode:
authorNeil Fortner <nfortne2@hdfgroup.org>2008-10-07 03:47:56 (GMT)
committerNeil Fortner <nfortne2@hdfgroup.org>2008-10-07 03:47:56 (GMT)
commita858608a0aa4ff6b23e35e210da3e7b2d461df51 (patch)
treeb128cbc269926fb7b133476ef08a6a7f2d494b15 /src/H5T.c
parentd7437bc5b171fef226813a576dea088d00f67b9a (diff)
downloadhdf5-a858608a0aa4ff6b23e35e210da3e7b2d461df51.zip
hdf5-a858608a0aa4ff6b23e35e210da3e7b2d461df51.tar.gz
hdf5-a858608a0aa4ff6b23e35e210da3e7b2d461df51.tar.bz2
[svn-r15797] Purpose: Close bug #1322
Description: Fixes a possible datatype id leak that could occur during compound datatype conversion, or more precisely, when unregistering those conversions. Datatype ids normally registered by the library are no longer visible to the application via H5Fget_obj_ids and H5Fget_obj_count. Tested: kagiso, linew, smirom (h5committest)
Diffstat (limited to 'src/H5T.c')
-rw-r--r--src/H5T.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/H5T.c b/src/H5T.c
index 293a5c5..ee02016 100644
--- a/src/H5T.c
+++ b/src/H5T.c
@@ -1449,7 +1449,7 @@ H5T_term_interface(void)
H5T_g.nsoft = H5T_g.asoft = 0;
/* Unlock all datatypes, then free them */
- H5I_search (H5I_DATATYPE, H5T_unlock_cb, NULL);
+ H5I_search (H5I_DATATYPE, H5T_unlock_cb, NULL, FALSE);
H5I_dec_type_ref(H5I_DATATYPE);
/* Reset all the datatype IDs */