From: suter Date: Tue, 24 Sep 2013 08:04:40 +0000 (+0200) Subject: remove a leak on almost all simdag tests X-Git-Tag: v3_9_90~104^2 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/693515c53d38d9dd1ee48ce080e9259356ba6583?ds=inline remove a leak on almost all simdag tests --- diff --git a/src/surf/workstation_ptask_L07.c b/src/surf/workstation_ptask_L07.c index eb62dcf9e1..f77530b1ac 100644 --- a/src/surf/workstation_ptask_L07.c +++ b/src/surf/workstation_ptask_L07.c @@ -700,7 +700,7 @@ static void ptask_parse_cpu_init(sg_platf_host_cbarg_t host) { double power_peak = xbt_dynar_get_as(host->power_peak, host->pstate, double); //cpu->power_peak = power_peak; - + xbt_dynar_free(&(host->power_peak)); /* kill memory leak */ ptask_cpu_create_resource( host->id, power_peak,