Skip to content

Commit 048d47d

Browse files
authored
Merge pull request #2874 from yosefe/topic/pml-yalla-fix-dt-leak
yalla: fix memory leak with blocking non-contig send.
2 parents 149ecef + 13c3bf0 commit 048d47d

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)