diff --git a/src/api/pdc_obj/pdc_obj.c b/src/api/pdc_obj/pdc_obj.c index d402782f9..f16a71275 100644 --- a/src/api/pdc_obj/pdc_obj.c +++ b/src/api/pdc_obj/pdc_obj.c @@ -1237,9 +1237,9 @@ PDCobj_get_info(pdcid_t obj_id) tmp = PDC_obj_get_info(obj_id); - ret_value = PDC_CALLOC(struct pdc_obj_info); - if (!ret_value) - PGOTO_ERROR(NULL, "failed to allocate memory"); + /* ret_value = PDC_CALLOC(struct pdc_obj_info); */ + /* if (!ret_value) */ + /* PGOTO_ERROR(NULL, "failed to allocate memory"); */ ret_value = tmp->obj_info_pub;