Skip to content

Commit 50ab4df

Browse files
authored
Merge pull request #4811 from edgargabriel/pr/v3.1.x_ompi_req_free_fix
io/ompio: correctly reset the request
2 parents 28c6902 + 8c0fb18 commit 50ab4df

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

ompi/mca/io/ompio/io_ompio_request.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ static int mca_io_ompio_request_free ( struct ompi_request_t **req)
3434
opal_list_remove_item (&mca_io_ompio_pending_requests, &ompio_req->req_item);
3535

3636
OBJ_RELEASE (*req);
37+
*req = MPI_REQUEST_NULL;
3738
return OMPI_SUCCESS;
3839
}
3940

0 commit comments

Comments
 (0)