Skip to content

Commit ed1ca1a

Browse files
committed
Don't free memory escaping mca_common_ompio_prepare_to_group
Signed-off-by: Joseph Schuchart <[email protected]>
1 parent 9a60f5b commit ed1ca1a

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

ompi/mca/common/ompio/common_ompio_aggregators.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1333,14 +1333,12 @@ int mca_common_ompio_prepare_to_group(ompio_file_t *fh,
13331333
if (NULL == aggr_bytes_per_group_tmp) {
13341334
opal_output (1, "OUT OF MEMORY\n");
13351335
ret = OMPI_ERR_OUT_OF_RESOURCE;
1336-
free(end_offsets_tmp);
13371336
goto exit;
13381337
}
13391338
decision_list_tmp = (int* )malloc (fh->f_init_num_aggrs * sizeof(int));
13401339
if (NULL == decision_list_tmp) {
13411340
opal_output (1, "OUT OF MEMORY\n");
13421341
ret = OMPI_ERR_OUT_OF_RESOURCE;
1343-
free(end_offsets_tmp);
13441342
if (NULL != aggr_bytes_per_group_tmp) {
13451343
free(aggr_bytes_per_group_tmp);
13461344
}

0 commit comments

Comments
 (0)