From a2de24e8ce38cd12a210aa5e604c076e53d4de2c Mon Sep 17 00:00:00 2001 From: George Bosilca Date: Thu, 14 Apr 2005 14:30:22 +0000 Subject: [PATCH] All buffered requests should be detached as soon as they are completed. This commit was SVN r5334. --- src/mca/pml/teg/src/pml_teg_sendreq.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/mca/pml/teg/src/pml_teg_sendreq.c b/src/mca/pml/teg/src/pml_teg_sendreq.c index 5a02885775..367265662b 100644 --- a/src/mca/pml/teg/src/pml_teg_sendreq.c +++ b/src/mca/pml/teg/src/pml_teg_sendreq.c @@ -180,10 +180,8 @@ void mca_pml_teg_send_request_progress( } } else if (req->req_base.req_free_called) { MCA_PML_TEG_FREE((ompi_request_t**)&req); - } else if (req->req_base.req_persistent) { - if(req->req_base.req_type == MCA_PML_BASE_SEND_BUFFERED) { - mca_pml_base_bsend_request_fini((ompi_request_t*)req); - } + } else if(req->req_base.req_type == MCA_PML_BASE_SEND_BUFFERED) { + mca_pml_base_bsend_request_fini((ompi_request_t*)req); } /* test to see if we have scheduled the entire request */ } else if (req->req_offset < req->req_bytes_packed)