Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
memleaks -=2
authordegomme <augustin.degomme@unibas.ch>
Tue, 19 Apr 2016 15:52:51 +0000 (17:52 +0200)
committerdegomme <augustin.degomme@unibas.ch>
Tue, 19 Apr 2016 15:56:52 +0000 (17:56 +0200)
teshsuite/smpi/mpich3-test/datatype/transpose-pack.c
teshsuite/smpi/mpich3-test/util/dtypes.c

index 18e2c59..71c7d4c 100644 (file)
@@ -96,6 +96,7 @@ int main(int argc, char *argv[])
        printf(" No Errors\n");
     }
     MPI_Finalize();
+    free(buffer);
     return 0;
 }
 
index c2dab59..a048f98 100644 (file)
@@ -385,4 +385,5 @@ void MTestDatatype2Free( MPI_Datatype *types, void **inbufs, void **outbufs,
     free( outbufs );
     free( counts );
     free( bytesize );
+    free( types);
 }