diff --git a/ompi/mca/pml/ob1/pml_ob1_recvreq.c b/ompi/mca/pml/ob1/pml_ob1_recvreq.c index 3ed2685f4e..fef2c5e95d 100644 --- a/ompi/mca/pml/ob1/pml_ob1_recvreq.c +++ b/ompi/mca/pml/ob1/pml_ob1_recvreq.c @@ -95,10 +95,12 @@ static void mca_pml_ob1_recv_request_construct(mca_pml_ob1_recv_request_t* reque request->req_recv.req_base.req_ompi.req_fini = mca_pml_ob1_recv_request_fini; request->req_recv.req_base.req_ompi.req_free = mca_pml_ob1_recv_request_free; request->req_recv.req_base.req_ompi.req_cancel = mca_pml_ob1_recv_request_cancel; + OBJ_CONSTRUCT(&request->req_recv.req_convertor, ompi_convertor_t); } static void mca_pml_ob1_recv_request_destruct(mca_pml_ob1_recv_request_t* request) { + OBJ_DESTRUCT(&request->req_recv.req_convertor); } diff --git a/ompi/mca/pml/ob1/pml_ob1_sendreq.c b/ompi/mca/pml/ob1/pml_ob1_sendreq.c index f1050877bd..fef7f7e15c 100644 --- a/ompi/mca/pml/ob1/pml_ob1_sendreq.c +++ b/ompi/mca/pml/ob1/pml_ob1_sendreq.c @@ -77,10 +77,12 @@ static void mca_pml_ob1_send_request_construct(mca_pml_ob1_send_request_t* req) req->req_send.req_base.req_ompi.req_fini = mca_pml_ob1_send_request_fini; req->req_send.req_base.req_ompi.req_free = mca_pml_ob1_send_request_free; req->req_send.req_base.req_ompi.req_cancel = mca_pml_ob1_send_request_cancel; + OBJ_CONSTRUCT(&req->req_send.req_convertor, ompi_request_t); } static void mca_pml_ob1_send_request_destruct(mca_pml_ob1_send_request_t* req) { + OBJ_DESTRUCT(&req->req_send.req_convertor); }