free requests

This commit is contained in:
Carl Pearson
2021-06-02 16:18:52 -04:00
parent 3350ad69e1
commit fec7a16267

View File

@@ -149,7 +149,12 @@ int main(int argc, char **argv) {
if (munlock(buf, bytes)) {
perror("error unlocking memory");
}
MPI_Request_free(&sreq);
MPI_Request_free(&rreq);
delete[] buf;
}
MPI_Finalize();