summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMohamad Chaarawi <chaarawi@hdfgroup.org>2014-03-18 22:45:23 (GMT)
committerMohamad Chaarawi <chaarawi@hdfgroup.org>2014-03-18 22:45:23 (GMT)
commit4be4ca8af6d99f19dde14941c146bd77f332f9e8 (patch)
tree2c56bd451c63970a76a19cfc480247ad519b2eeb
parent82b9cb00fdea4f976853598957ca58c7ee221d85 (diff)
downloadhdf5-4be4ca8af6d99f19dde14941c146bd77f332f9e8.zip
hdf5-4be4ca8af6d99f19dde14941c146bd77f332f9e8.tar.gz
hdf5-4be4ca8af6d99f19dde14941c146bd77f332f9e8.tar.bz2
[svn-r24835] another fix
-rw-r--r--src/H5VLiod.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/H5VLiod.c b/src/H5VLiod.c
index 444bb79..56d5297 100644
--- a/src/H5VLiod.c
+++ b/src/H5VLiod.c
@@ -2979,7 +2979,7 @@ H5VL_iod_dataset_create(void *_obj, H5VL_loc_params_t UNUSED loc_params,
done:
/* If the operation is synchronous and it failed at the server, or
it failed locally, then cleanup and return fail */
- if(NULL == ret_value) {
+ if(dset != NULL && NULL == ret_value) {
if(name && dset->common.obj_name) {
HDfree(dset->common.obj_name);
dset->common.obj_name = NULL;