From b15c3e60c812c9d531dfa674d33558ac4f9ef5fb Mon Sep 17 00:00:00 2001 From: Augustin Degomme Date: Tue, 24 Sep 2013 15:19:18 +0200 Subject: [PATCH 1/1] few more leaks --- src/smpi/colls/gather-ompi.c | 1 + teshsuite/smpi/allgatherv_coll.c | 2 ++ 2 files changed, 3 insertions(+) diff --git a/src/smpi/colls/gather-ompi.c b/src/smpi/colls/gather-ompi.c index 4a7489b4ac..df34f27e1f 100644 --- a/src/smpi/colls/gather-ompi.c +++ b/src/smpi/colls/gather-ompi.c @@ -172,6 +172,7 @@ smpi_coll_tuned_gather_ompi_binomial(void *sbuf, int scount, /* other non-leaf nodes */ free(tempbuf); } + xbt_free(bmtree); return MPI_SUCCESS; err_hndl: diff --git a/teshsuite/smpi/allgatherv_coll.c b/teshsuite/smpi/allgatherv_coll.c index 2d8c87fb5b..692dc12a4d 100644 --- a/teshsuite/smpi/allgatherv_coll.c +++ b/teshsuite/smpi/allgatherv_coll.c @@ -69,6 +69,8 @@ int main(int argc, char *argv[]) } free(sb); free(rb); + free(recv_counts); + free(recv_disps); MPI_Finalize(); return (EXIT_SUCCESS); } -- 2.20.1