Samuel Thibault 8 anni fa
parent
commit
ed7967a2bf

+ 1 - 1
sc_hypervisor/src/hypervisor_policies/throughput_lp_policy.c

@@ -278,7 +278,7 @@ static void _try_resizing(unsigned *sched_ctxs, int nsched_ctxs , int *workers,
 
 
 		sc_hypervisor_lp_redistribute_resources_in_ctxs(ns, tw->nw, nworkers_per_ctx_rounded, nworkers_per_ctx, sched_ctxs, tw);
-
+		free(tw);
 	}
 }