From: Augustin Degomme Date: Tue, 24 Sep 2013 13:19:18 +0000 (+0200) Subject: few more leaks X-Git-Tag: v3_9_90~94 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/b15c3e60c812c9d531dfa674d33558ac4f9ef5fb?hp=dfb5ce528d95432fa6f95501ffb1d0db33a46fcb;ds=sidebyside few more leaks --- 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); }