Skip to content

Commit a785209

Browse files
authored
Merge pull request #2875 from yosefe/topic/pml-yalla-fix-dt-leak-v2.0.x
yalla: fix memory leak with blocking non-contig send.
2 parents 7b389d6 + 8283805 commit a785209

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)