summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/H5VLnative.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/H5VLnative.c b/src/H5VLnative.c
index be62be2..346adc7 100644
--- a/src/H5VLnative.c
+++ b/src/H5VLnative.c
@@ -1084,6 +1084,7 @@ H5VL_native_datatype_open(void *obj, H5VL_loc_params_t loc_params, const char *n
if(NULL == (type = H5T_open(&type_loc, dxpl_id)))
HGOTO_ERROR(H5E_DATATYPE, H5E_CANTOPENOBJ, NULL, "unable to open named datatype")
+ type->vol_obj = NULL;
ret_value = (void *)type;
done:
if(NULL == type)