Skip to content

Commit 13c3bf0

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

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
@@ -122,7 +122,7 @@ void mca_pml_yalla_init_reqs(void);
122122

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

0 commit comments

Comments
 (0)