Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
This one was not ours.
[simgrid.git] / 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;
 }