X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/7a8cd62135619ad52e05ae1c929ef07e166e4260..a243b4c3535f516d05259cac06963c422d4aadc0:/teshsuite/smpi/struct_test.c diff --git a/teshsuite/smpi/struct_test.c b/teshsuite/smpi/struct_test.c index 5c73e385f3..1159b933e3 100644 --- a/teshsuite/smpi/struct_test.c +++ b/teshsuite/smpi/struct_test.c @@ -51,7 +51,7 @@ char **argv; MPI_Bcast( &value, 1, mystruct, 0, MPI_COMM_WORLD ); - printf( "Process %d got %d (-2?) and %lf (8.0?), tab (should be all 0): ", rank, value.a, value.b ); + printf( "Process %d got %d (-2?) and %f (8.0?), tab (should be all 0): ", rank, value.a, value.b ); for(j=0; j<2;j++ ) for(i=0; i<3;i++ ) @@ -62,6 +62,7 @@ char **argv; /* Clean up the type */ MPI_Type_free( &mystruct ); + MPI_Type_free( &type2 ); MPI_Finalize( ); return 0; }