summaryrefslogtreecommitdiffstats
path: root/src/H5VLiod.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/H5VLiod.c')
-rw-r--r--src/H5VLiod.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/H5VLiod.c b/src/H5VLiod.c
index dc3b8e6..496c54d 100644
--- a/src/H5VLiod.c
+++ b/src/H5VLiod.c
@@ -6889,9 +6889,9 @@ H5VL_iod_object_get(void *_obj, H5VL_loc_params_t loc_params, H5VL_object_get_t
/* Otherwise Go to the server */
if(H5VL_OBJECT_BY_SELF == loc_params.type)
- loc_name = strdup(".");
+ loc_name = HDstrdup(".");
else if(H5VL_OBJECT_BY_NAME == loc_params.type)
- loc_name = strdup(loc_params.loc_data.loc_by_name.name);
+ loc_name = HDstrdup(loc_params.loc_data.loc_by_name.name);
/* set the input structure for the HG encode routine */
input.coh = obj->file->remote_file.coh;