summaryrefslogtreecommitdiffstats
path: root/src/H5T.c
diff options
context:
space:
mode:
authorJames Laird <jlaird@hdfgroup.org>2006-12-14 18:46:51 (GMT)
committerJames Laird <jlaird@hdfgroup.org>2006-12-14 18:46:51 (GMT)
commit57a786d9c0242b7c94d0b0a1c8519f9b906d194a (patch)
tree90afd463a6ebde70a585061f80ee8ff30bfd419f /src/H5T.c
parent481cfbe0e958ba72623803884f4c69179724582f (diff)
downloadhdf5-57a786d9c0242b7c94d0b0a1c8519f9b906d194a.zip
hdf5-57a786d9c0242b7c94d0b0a1c8519f9b906d194a.tar.gz
hdf5-57a786d9c0242b7c94d0b0a1c8519f9b906d194a.tar.bz2
[svn-r13063] Cleaned up some memory issues when copying, in preparation for checking in
code to copy shared messages. Should be fewer memory leaks and fewer "uninitialized memory reads." Tested on kagiso, smirom, and Windows.
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 08cdc7e..578ee09 100644
--- a/src/H5T.c
+++ b/src/H5T.c
@@ -1376,7 +1376,7 @@ H5T_unlock_cb (void *_dt, hid_t UNUSED id, void UNUSED *key)
FUNC_ENTER_NOAPI_NOINIT_NOFUNC(H5T_unlock_cb);
- assert (dt);
+ HDassert (dt && dt->shared);
if (H5T_STATE_IMMUTABLE==dt->shared->state)
dt->shared->state = H5T_STATE_RDONLY;