]> AND Public Git Repository - simgrid.git/blobdiff - teshsuite/smpi/topo-cart-sub/topo-cart-sub.c
Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
convert and massevely rewrite app-bittorrent
[simgrid.git] / teshsuite / smpi / topo-cart-sub / topo-cart-sub.c
index 6521ab00e8d0192fcaf1f00e620841fd475df1cb..e0c4146b96764a587c5845ae7f9189570b41f824 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (c) 2009-2019. The SimGrid Team.
+/* Copyright (c) 2009-2020. The SimGrid Team.
  * All rights reserved.                                                     */
 
 /* This program is free software; you can redistribute it and/or modify it
@@ -115,6 +115,9 @@ int main(int argc, char** argv)
     printf("\n");
   }
   printf("-------------------\n");
+
+  MPI_Comm_free(&lineComm);
+  MPI_Comm_free(&gridComm);
   free(A);
   MPI_Barrier(MPI_COMM_WORLD);
   MPI_Finalize();