From 107362afcf731adb1b3ee9c8ab103c7cd1c7d57e Mon Sep 17 00:00:00 2001 From: degomme Date: Mon, 25 Apr 2016 23:19:20 +0200 Subject: [PATCH] This one was not ours. --- teshsuite/smpi/mpich3-test/util/mtest.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) 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; } -- 2.20.1