summaryrefslogtreecommitdiffstats
path: root/src/H5T.c
diff options
context:
space:
mode:
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 30dec9a..b0cb67d 100644
--- a/src/H5T.c
+++ b/src/H5T.c
@@ -3143,7 +3143,7 @@ H5T_copy(const H5T_t *old_dt, H5T_copy_t method)
/* Check if the VOL_obj exists, then this type is the one we want to copy */
//if(NULL != old->vol_obj)
- // old_dt = (H5T_t *)(old->vol_obj);
+ //old_dt = (H5T_t *)(old->vol_obj);
/* Allocate space */
if(NULL == (new_dt = H5FL_MALLOC(H5T_t)))
@@ -3153,7 +3153,7 @@ H5T_copy(const H5T_t *old_dt, H5T_copy_t method)
/* Copy shared information (entry information is copied last) */
*(new_dt->shared) = *(old_dt->shared);
-
+ new_dt->vol_obj = NULL;
/* Check what sort of copy we are making */
switch (method) {
case H5T_COPY_TRANSIENT: