From: Arnaud Giersch Date: Tue, 27 Nov 2012 14:32:03 +0000 (+0100) Subject: Call xbt_log_postexit() at the end. X-Git-Tag: v3_9_rc1~86^2~280 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/ecd8e4ee6c8c0f3647a7a8ce2ed95d8f1aba93e0?ds=inline Call xbt_log_postexit() at the end. --- diff --git a/src/xbt/xbt_main.c b/src/xbt/xbt_main.c index 93c8e5c25a..3b453c6ecb 100644 --- a/src/xbt/xbt_main.c +++ b/src/xbt/xbt_main.c @@ -105,12 +105,14 @@ static void xbt_postexit(void) xbt_fifo_postexit(); xbt_dict_postexit(); - xbt_log_postexit(); xbt_os_thread_mod_postexit(); - free(xbt_binary_name); xbt_dynar_free(&xbt_cmdline); + xbt_log_postexit(); + + free(xbt_binary_name); + #ifdef MMALLOC_WANT_OVERRIDE_LEGACY mmalloc_postexit(); #endif