Skip to content

Commit 57edbdb

Browse files
author
Ralph Castain
authored
Merge pull request #2877 from yosefe/topic/pml-yalla-fix-dt-leak-v1.10
yalla: fix memory leak with blocking non-contig send.
2 parents 612a18d + 6231c83 commit 57edbdb

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

119119
#define PML_YALLA_FREE_BLOCKING_MXM_REQ(_req) \
120120
{ \
121-
if ((_req)->completed_cb != NULL) { \
121+
if ((_req)->data_type == MXM_REQ_DATA_STREAM) { \
122122
mca_pml_yalla_convertor_free((mca_pml_yalla_convertor_t*)((_req)->context)); \
123123
} \
124124
}

0 commit comments

Comments
 (0)