X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/dc1466c0fbb38cdbe51b35767cf6e7adce81597d..ae701792ae00d4b822b890780619878e0a624980:/src/smpi/smpi_deployment.cpp diff --git a/src/smpi/smpi_deployment.cpp b/src/smpi/smpi_deployment.cpp index f652e42a24..bfb684b12e 100644 --- a/src/smpi/smpi_deployment.cpp +++ b/src/smpi/smpi_deployment.cpp @@ -86,7 +86,7 @@ void smpi_deployment_cleanup_instances(){ xbt_dict_foreach(smpi_instances, cursor, name, instance) { if(instance->comm_world!=MPI_COMM_NULL) while (instance->comm_world->group()->unuse() > 0); - xbt_free(instance->comm_world); + delete instance->comm_world; MSG_barrier_destroy(instance->finalization_barrier); } xbt_dict_free(&smpi_instances);