From: degomme Date: Thu, 28 Apr 2016 12:39:57 +0000 (+0200) Subject: fix The leak X-Git-Tag: v3_14~1317 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/11aaec6a15f0d9b5536f7a4d382589cec1f813de fix The leak --- diff --git a/src/smpi/smpi_global.cpp b/src/smpi/smpi_global.cpp index 6bbc1805da..5783c39929 100644 --- a/src/smpi/smpi_global.cpp +++ b/src/smpi/smpi_global.cpp @@ -77,7 +77,7 @@ void smpi_process_init(int *argc, char ***argv) if (argc && argv) { proc = SIMIX_process_self(); //FIXME: dirty cleanup method to avoid using msg cleanup functions on these processes when using MSG+SMPI - SIMIX_process_set_cleanup_function(proc, SIMIX_process_cleanup); + SIMIX_process_set_cleanup_function(proc, MSG_process_cleanup_from_SIMIX); char* instance_id = (*argv)[1]; int rank = xbt_str_parse_int((*argv)[2], "Invalid rank: %s"); index = smpi_process_index_of_smx_process(proc);