From: Arnaud Giersch Date: Tue, 10 Dec 2019 15:23:35 +0000 (+0100) Subject: Free memory. X-Git-Tag: v3.25~289 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/a51a1b7ca7d9bbd92cb13e12cb1db68c4472b022?hp=6860b58e0ad46fa502557d360f4a06d2b19606df Free memory. --- diff --git a/teshsuite/smpi/mpich3-test/pt2pt/dtype_send.c b/teshsuite/smpi/mpich3-test/pt2pt/dtype_send.c index a218e8c8a5..53e80336f4 100644 --- a/teshsuite/smpi/mpich3-test/pt2pt/dtype_send.c +++ b/teshsuite/smpi/mpich3-test/pt2pt/dtype_send.c @@ -52,6 +52,7 @@ int main(int argc, char **argv) MPI_Waitall(NUM_LOOPS, req, MPI_STATUSES_IGNORE); MPI_Barrier(MPI_COMM_WORLD); + free(req); /* test issends */ MPI_Type_create_indexed_block(count, 1, displs, MPI_INT, &newtype); @@ -71,6 +72,7 @@ int main(int argc, char **argv) MPI_Waitall(NUM_LOOPS, req, MPI_STATUSES_IGNORE); MPI_Barrier(MPI_COMM_WORLD); + free(req); /* test irsends */ MPI_Type_create_indexed_block(count, 1, displs, MPI_INT, &newtype); @@ -91,6 +93,8 @@ int main(int argc, char **argv) MPI_Waitall(NUM_LOOPS, req, MPI_STATUSES_IGNORE); MPI_Barrier(MPI_COMM_WORLD); + free(req); + free(displs); MPI_Finalize();