summaryrefslogtreecommitdiffstats
path: root/src/H5Aint.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/H5Aint.c')
-rw-r--r--src/H5Aint.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/H5Aint.c b/src/H5Aint.c
index cfe81dc..8d86931 100644
--- a/src/H5Aint.c
+++ b/src/H5Aint.c
@@ -779,7 +779,7 @@ H5A_get_type(H5A_t *attr)
two level IDs, where the VOL object is a copy of the
returned datatype */
/* Copy the dataset's datatype */
- if(NULL == (type = H5T_copy(dt, H5T_COPY_REOPEN)))
+ if(NULL == (type = H5T_copy(dt, H5T_COPY_TRANSIENT)))
HGOTO_ERROR(H5E_DATASET, H5E_CANTINIT, FAIL, "unable to copy datatype")
H5T_set_vol_object(type, (void *)dt);