Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Call xbt_log_postexit() at the end.
authorArnaud Giersch <arnaud.giersch@iut-bm.univ-fcomte.fr>
Tue, 27 Nov 2012 14:32:03 +0000 (15:32 +0100)
committerArnaud Giersch <arnaud.giersch@iut-bm.univ-fcomte.fr>
Tue, 27 Nov 2012 14:32:03 +0000 (15:32 +0100)
src/xbt/xbt_main.c

index 93c8e5c..3b453c6 100644 (file)
@@ -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