X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/a235f4233cb2495709ecd10086515851b9948017..ec3e4ee5f1a7ffeb96e044057809944f364014e6:/src/smpi/smpi_comm.cpp?ds=sidebyside diff --git a/src/smpi/smpi_comm.cpp b/src/smpi/smpi_comm.cpp index 3143742772..4e45a21549 100644 --- a/src/smpi/smpi_comm.cpp +++ b/src/smpi/smpi_comm.cpp @@ -288,6 +288,9 @@ MPI_Comm smpi_comm_split(MPI_Comm comm, int color, int key) reqs++; } } + if(i != 0) { + smpi_group_destroy(group_out); + } smpi_mpi_startall(reqs, requests); smpi_mpi_waitall(reqs, requests, MPI_STATUS_IGNORE); xbt_free(requests);