X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/c81c99a491282f76757c2673961e3cdee6853539..550e68e2d3bb08b56b4c900ba701e07f38882b19:/teshsuite/smpi/mpich3-test/coll/allred3.c diff --git a/teshsuite/smpi/mpich3-test/coll/allred3.c b/teshsuite/smpi/mpich3-test/coll/allred3.c index aaf8a23354..61f1a7c7b3 100644 --- a/teshsuite/smpi/mpich3-test/coll/allred3.c +++ b/teshsuite/smpi/mpich3-test/coll/allred3.c @@ -182,10 +182,12 @@ int main( int argc, char *argv[] ) buf = (int *)malloc( max_offset * sizeof(int) ); if (!buf) { MPI_Abort( MPI_COMM_WORLD, 1 ); + exit(1); } bufout = (int *)malloc( max_offset * sizeof(int) ); if (!bufout) { MPI_Abort( MPI_COMM_WORLD, 1 ); + exit(1); } initMat( comm, buf ); @@ -200,11 +202,11 @@ int main( int argc, char *argv[] ) free( buf ); free( bufout ); - //MPI_Type_free( &mattype ); + MPI_Type_free( &mattype ); MTestFreeComm( &comm ); } - // MPI_Op_free( &op ); + MPI_Op_free( &op ); MTest_Finalize( errs ); MPI_Finalize();