summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMohamad Chaarawi <chaarawi@hdfgroup.org>2014-07-31 19:26:19 (GMT)
committerMohamad Chaarawi <chaarawi@hdfgroup.org>2014-07-31 19:26:19 (GMT)
commitbeb6f83cfd696e835970091f730a23db31381455 (patch)
tree8250eb2f16a6c7efbf7b54ffcfe3e968aa1b278b /src
parent33ea1ada248725e4cce6316c503e5c760bcca49c (diff)
downloadhdf5-beb6f83cfd696e835970091f730a23db31381455.zip
hdf5-beb6f83cfd696e835970091f730a23db31381455.tar.gz
hdf5-beb6f83cfd696e835970091f730a23db31381455.tar.bz2
[svn-r25500] fix HDFFV-8888 - H5Ldelete_by_idx fails on non-existent group name.
tested Jam. minor change.
Diffstat (limited to 'src')
-rw-r--r--src/H5L.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/H5L.c b/src/H5L.c
index 86a2e80..11bf313 100644
--- a/src/H5L.c
+++ b/src/H5L.c
@@ -2372,7 +2372,7 @@ H5L_delete_by_idx_cb(H5G_loc_t UNUSED *grp_loc/*in*/, const char UNUSED *name,
H5L_trav_gvbi_t *udata = (H5L_trav_gvbi_t *)_udata; /* User data passed in */
herr_t ret_value = SUCCEED; /* Return value */
- FUNC_ENTER_NOAPI_NOINIT_TAG(udata->dxpl_id, obj_loc->oloc->addr, FAIL)
+ FUNC_ENTER_NOAPI_NOINIT_TAG(udata->dxpl_id, (obj_loc) ? (obj_loc->oloc->addr) : HADDR_UNDEF, FAIL)
/* Check if the name of the group resolved to a valid object */
if(obj_loc == NULL)