Skip to content

Commit 89b1e37

Browse files
committed
PML/UCX/YALLA: Fix the message release call.
Set message to MPI_MESSAGE_NULL. Signed-off-by: Alina Sklarevich <[email protected]> (cherry picked from commit eec310c)
1 parent 9d7e7a8 commit 89b1e37

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

ompi/mca/pml/ucx/pml_ucx_request.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ enum {
8989
#define PML_UCX_MESSAGE_RELEASE(_message) \
9090
{ \
9191
ompi_message_return(*(_message)); \
92-
*(_message) = NULL; \
92+
*(_message) = MPI_MESSAGE_NULL; \
9393
}
9494

9595

ompi/mca/pml/yalla/pml_yalla_request.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -213,7 +213,7 @@ void mca_pml_yalla_init_reqs(void);
213213
#define PML_YALLA_MESSAGE_RELEASE(_message) \
214214
{ \
215215
ompi_message_return(*(_message)); \
216-
*(_message) = NULL; \
216+
*(_message) = MPI_MESSAGE_NULL; \
217217
}
218218

219219
#endif /* PML_YALLA_REQUEST_H_ */

0 commit comments

Comments
 (0)