Skip to content

Commit 688108c

Browse files
committed
Patch submitted by @ggouaillardet on ticket #1091.
1 parent 4d00c59 commit 688108c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

ompi/mca/coll/basic/coll_basic_scan.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,7 @@ mca_coll_basic_scan_intra(const void *sbuf, void *rbuf, int count,
7575
* receive into, later. */
7676

7777
dsize = opal_datatype_span(&dtype->super, count, &gap);
78+
free_buffer = malloc(dsize);
7879
if (NULL == free_buffer) {
7980
return OMPI_ERR_OUT_OF_RESOURCE;
8081
}

0 commit comments

Comments
 (0)