Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Add missing SG_{BEGIN,END}_DECL.
[simgrid.git] / teshsuite / smpi / indexed_test.c
index e557575..5d2dac0 100644 (file)
@@ -1,5 +1,5 @@
-#include "mpi.h"
 #include <stdio.h>
+#include "mpi.h"
 
 int main(int argc, char *argv[])
 {
@@ -42,6 +42,8 @@ int main(int argc, char *argv[])
         fflush(stdout);
     }
 
+    MPI_Type_free(&type);
+    MPI_Type_free(&type2);
     MPI_Finalize();
     return 0;
 }