Skip to content

Commit 8283805

Browse files
committed
yalla: fix memory leak with blocking non-contig send.
Signed-off-by: Yossi Itigin <[email protected]>
1 parent 59b0361 commit 8283805

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ompi/mca/pml/yalla/pml_yalla_request.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ void mca_pml_yalla_init_reqs(void);
121121

122122
#define PML_YALLA_FREE_BLOCKING_MXM_REQ(_req) \
123123
{ \
124-
if ((_req)->completed_cb != NULL) { \
124+
if ((_req)->data_type == MXM_REQ_DATA_STREAM) { \
125125
mca_pml_yalla_convertor_free((mca_pml_yalla_convertor_t*)((_req)->context)); \
126126
} \
127127
}

0 commit comments

Comments
 (0)