Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Memory leak fix
authorSamuel Lepetit <samuel.lepetit@inria.fr>
Wed, 4 Jul 2012 14:34:05 +0000 (16:34 +0200)
committerSamuel Lepetit <samuel.lepetit@inria.fr>
Wed, 4 Jul 2012 14:34:05 +0000 (16:34 +0200)
src/msg/msg_vm.c

index 0dc2439..4e06196 100644 (file)
@@ -177,6 +177,8 @@ void MSG_vm_reboot(msg_vm_t vm)
   xbt_dynar_foreach(new_processes, cpt, process) {
     MSG_vm_bind(vm,process);
   }
+
+  xbt_dynar_free(&new_processes);
 }
 /** @brief Destroy a msg_vm_t.
  *  @ingroup msg_VMs