Commit 50137e84 authored by Darius Buntinas's avatar Darius Buntinas
Browse files

[svn-r10049] Fixed bug in lmt_send_RTS where we released a request after...

[svn-r10049] Fixed bug in lmt_send_RTS where we released a request after destroying it.  This bug highlights a larger issue with how we're handling requests after an error:  In some places we're destroying them and in others we're releasing them.  fixes #1638
parent 390e4c1f
......@@ -171,10 +171,9 @@ typedef union MPIDI_CH3_nem_pkt
{ \
if (_rts_req->status.MPI_ERROR != MPI_SUCCESS) \
{ \
mpi_errno = _rts_req->status.MPI_ERROR; \
MPIU_Object_set_ref(_rts_req, 0); \
MPIDI_CH3_Request_destroy(_rts_req); \
mpi_errno = _rts_req->status.MPI_ERROR; \
MPID_Request_release(_rts_req); \
MPIU_ERR_SETANDJUMP(mpi_errno, MPI_ERR_OTHER, "**rtspkt"); \
} \
MPID_Request_release(_rts_req); \
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment