X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/aab40b3fc85c15a347487954ae41ea2da113f32f..0fcc85dd7c6ea2e8b1da0cc1c09f9e7e414918a2:/src/msg/msg_vm.c diff --git a/src/msg/msg_vm.c b/src/msg/msg_vm.c index fc9edcb15e..eb2dbdc9d4 100644 --- a/src/msg/msg_vm.c +++ b/src/msg/msg_vm.c @@ -25,9 +25,9 @@ msg_vm_t MSG_vm_create(msg_host_t location, const char *name, new = (msg_vm_t) __MSG_host_create(vm_workstation); - MSG_vm_set_property_value(new, "CORE_NB", bprintf("%d", core_nb)), NULL); - MSG_vm_set_property_value(new, "MEM_CAP", bprintf("%d", core_nb)), NULL); - MSG_vm_set_property_value(new, "NET_CAP", bprintf("%d", core_nb)), NULL); + MSG_vm_set_property_value(new, "CORE_NB", bprintf("%d", core_nb), free); + MSG_vm_set_property_value(new, "MEM_CAP", bprintf("%d", core_nb), free); + MSG_vm_set_property_value(new, "NET_CAP", bprintf("%d", core_nb), free); #ifdef HAVE_TRACING TRACE_msg_vm_create(name, location);