X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/ea02d47c2ee462e84798356e4dda87b1467e22b8..30544ab58b29faec9eefb6be57a0fce5f0d76775:/src/smpi/bindings/smpi_pmpi_request.cpp diff --git a/src/smpi/bindings/smpi_pmpi_request.cpp b/src/smpi/bindings/smpi_pmpi_request.cpp index 14d2bd200b..fb30222571 100644 --- a/src/smpi/bindings/smpi_pmpi_request.cpp +++ b/src/smpi/bindings/smpi_pmpi_request.cpp @@ -163,6 +163,7 @@ int PMPI_Request_free(MPI_Request * request) smpi_bench_end(); if (*request != MPI_REQUEST_NULL) { + (*request)->mark_as_deleted(); simgrid::smpi::Request::unref(request); *request = MPI_REQUEST_NULL; retval = MPI_SUCCESS;