Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Correctly destroy the MSG_host object of a VM
[simgrid.git] / src / msg / msg_vm.c
index 33ece79..77c2da7 100644 (file)
@@ -378,6 +378,8 @@ void MSG_vm_destroy(msg_vm_t vm)
   /* Then, destroy the VM object */
   simcall_vm_destroy(vm);
 
+  __MSG_host_destroy(vm);
+
   #ifdef HAVE_TRACING
   TRACE_msg_vm_end(vm);
   #endif