Samuel Thibault 8 年 前
コミット
ed7967a2bf
共有1 個のファイルを変更した1 個の追加1 個の削除を含む
  1. 1 1
      sc_hypervisor/src/hypervisor_policies/throughput_lp_policy.c

+ 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);
 	}
 }