Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
This one was not ours.
authordegomme <augustin.degomme@unibas.ch>
Mon, 25 Apr 2016 21:19:20 +0000 (23:19 +0200)
committerdegomme <augustin.degomme@unibas.ch>
Mon, 25 Apr 2016 21:19:38 +0000 (23:19 +0200)
teshsuite/smpi/mpich3-test/util/mtest.c

index 6f4d143..a13d88c 100644 (file)
@@ -546,14 +546,13 @@ static void *MTestTypeIndexedInitRecv( MTestDatatype *mtype )
 
 static void *MTestTypeIndexedFree( MTestDatatype *mtype )
 {
-    if (mtype->buf) {
-       free( mtype->buf );
+    if (mtype->buf) 
+      free( mtype->buf );
        free( mtype->displs );
        free( mtype->index );
        mtype->buf    = 0;
        mtype->displs = 0;
        mtype->index  = 0;
-    }
     return 0;
 }