diff options
author | Mohamad Chaarawi <chaarawi@hdfgroup.org> | 2013-06-17 20:45:44 (GMT) |
---|---|---|
committer | Mohamad Chaarawi <chaarawi@hdfgroup.org> | 2013-06-17 20:45:44 (GMT) |
commit | 018ed55299f5e5c2c580c5a40704a61dc30c72c9 (patch) | |
tree | a944862220f82d606f199992992f8907802ccf73 /src | |
parent | 68a20c3f56f30e62e062eba2f4c8f782fa604cd3 (diff) | |
download | hdf5-018ed55299f5e5c2c580c5a40704a61dc30c72c9.zip hdf5-018ed55299f5e5c2c580c5a40704a61dc30c72c9.tar.gz hdf5-018ed55299f5e5c2c580c5a40704a61dc30c72c9.tar.bz2 |
[svn-r23790] intialize the vol_obj for named datatypes to NULL in Native plugin.
Diffstat (limited to 'src')
-rw-r--r-- | src/H5VLnative.c | 1 |
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) |