Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Memcheck timeout set to 300s.
[simgrid.git] / src / xbt / xbt_main.c
index 71569a8..16d5d75 100644 (file)
@@ -79,6 +79,7 @@ BOOL WINAPI DllMain(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpvReserved) {
 #endif
 
 static void xbt_preinit(void) {
+  mmalloc_preinit();
   xbt_log_preinit();
 
   /* Connect our log channels: that must be done manually under windows */
@@ -106,6 +107,7 @@ static void xbt_preinit(void) {
   XBT_LOG_CONNECT(xbt_sync_os, xbt);
 
   xbt_fifo_preinit();
+  xbt_dict_preinit();
 
   xbt_backtrace_preinit();
   xbt_os_thread_mod_preinit();
@@ -121,6 +123,7 @@ static void xbt_postexit(void) {
   xbt_log_postexit();
 
   free(xbt_binary_name);
+  mmalloc_postexit();
 }
 
 /** @brief Initialize the xbt mechanisms. */