From a51a1b7ca7d9bbd92cb13e12cb1db68c4472b022 Mon Sep 17 00:00:00 2001 From: Arnaud Giersch Date: Tue, 10 Dec 2019 16:23:35 +0100 Subject: [PATCH 1/1] Free memory. --- teshsuite/smpi/mpich3-test/pt2pt/dtype_send.c | 4 ++++ 1 file changed, 4 insertions(+) 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(); -- 2.20.1