diff --git a/src/api/pdc_analysis/pdc_analysis.c b/src/api/pdc_analysis/pdc_analysis.c index e544904c5..0add84746 100644 --- a/src/api/pdc_analysis/pdc_analysis.c +++ b/src/api/pdc_analysis/pdc_analysis.c @@ -453,7 +453,8 @@ PDCobj_analysis_register(char *func, pdcid_t iterIn, pdcid_t iterOut) if ((ftnPtr = ftnHandle) == NULL) PGOTO_ERROR(FAIL, "Analysis function lookup failed"); - if ((thisFtn = (struct _pdc_region_analysis_ftn_info *)PDC_malloc(sizeof(struct _pdc_region_analysis_ftn_info))) == NULL) + if ((thisFtn = (struct _pdc_region_analysis_ftn_info *)PDC_malloc( + sizeof(struct _pdc_region_analysis_ftn_info))) == NULL) PGOTO_ERROR(FAIL, "PDC register_obj_analysis memory allocation failed"); thisFtn->ftnPtr = (int (*)())ftnPtr; diff --git a/src/api/pdc_transform/pdc_transform.c b/src/api/pdc_transform/pdc_transform.c index d869beb7b..884cbf434 100644 --- a/src/api/pdc_transform/pdc_transform.c +++ b/src/api/pdc_transform/pdc_transform.c @@ -93,7 +93,8 @@ PDCobj_transform_register(char *func, pdcid_t obj_id, int current_state, int nex if ((ftnPtr = ftnHandle) == NULL) PGOTO_ERROR(FAIL, "Transforms function lookup failed"); - if ((thisFtn = (struct _pdc_region_transform_ftn_info *)PDC_malloc(sizeof(struct _pdc_region_transform_ftn_info))) == NULL) + if ((thisFtn = (struct _pdc_region_transform_ftn_info *)PDC_malloc( + sizeof(struct _pdc_region_transform_ftn_info))) == NULL) PGOTO_ERROR(FAIL, "PDC register_obj_transforms memory allocation failed"); memset(thisFtn, 0, sizeof(struct _pdc_region_transform_ftn_info)); @@ -206,7 +207,8 @@ PDCbuf_map_transform_register(char *func, void *buf, pdcid_t src_region_id, pdci if ((ftnPtr = ftnHandle) == NULL) PGOTO_ERROR(FAIL, "Transforms function lookup failed\n"); - if ((thisFtn = (struct _pdc_region_transform_ftn_info *)PDC_malloc(sizeof(struct _pdc_region_transform_ftn_info))) == NULL) + if ((thisFtn = (struct _pdc_region_transform_ftn_info *)PDC_malloc( + sizeof(struct _pdc_region_transform_ftn_info))) == NULL) PGOTO_ERROR(FAIL, "PDC register_obj_transforms memory allocation failed"); thisFtn->ftnPtr = (size_t(*)())ftnPtr; diff --git a/src/commons/utils/include/pdc_malloc.h b/src/commons/utils/include/pdc_malloc.h index 342b2aef7..e967c9032 100644 --- a/src/commons/utils/include/pdc_malloc.h +++ b/src/commons/utils/include/pdc_malloc.h @@ -76,5 +76,4 @@ void *PDC_free(void *mem); */ size_t PDC_get_global_mem_usage(); - #endif /* PDC_MALLOC_H */