Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Correctly destroy the MSG_host object of a VM
[simgrid.git] / src / msg / msg_global.c
index f28d3e6..7290f94 100644 (file)
@@ -68,7 +68,7 @@ void MSG_init_nocheck(int *argc, char **argv) {
 #endif
 
   XBT_DEBUG("ADD MSG LEVELS");
-  MSG_HOST_LEVEL = xbt_lib_add_level(host_lib, (void_f_pvoid_t) __MSG_host_destroy);
+  MSG_HOST_LEVEL = xbt_lib_add_level(host_lib, (void_f_pvoid_t) __MSG_host_priv_free);
 
   atexit(MSG_exit);
 }