X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/05b7e113e596083f4d86dd9dc3fda78882c2834a..107362afcf731adb1b3ee9c8ab103c7cd1c7d57e:/teshsuite/smpi/mpich3-test/util/mtest.c diff --git a/teshsuite/smpi/mpich3-test/util/mtest.c b/teshsuite/smpi/mpich3-test/util/mtest.c index 6f4d1439a3..a13d88c840 100644 --- a/teshsuite/smpi/mpich3-test/util/mtest.c +++ b/teshsuite/smpi/mpich3-test/util/mtest.c @@ -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; }