sched/deadline: Fix memory leak
Free cpudl->free_cpus allocated in cpudl_init(). Signed-off-by: Li Zefan <lizefan@huawei.com> Acked-by: Juri Lelli <juri.lelli@gmail.com> Signed-off-by: Peter Zijlstra <peterz@infradead.org> Cc: <stable@vger.kernel.org> # 3.14+ Link: http://lkml.kernel.org/r/534F36CE.2000409@huawei.com Signed-off-by: Ingo Molnar <mingo@kernel.org>
This commit is contained in:
Родитель
5bfd126e80
Коммит
6a7cd273dc
|
@ -210,7 +210,5 @@ int cpudl_init(struct cpudl *cp)
|
|||
*/
|
||||
void cpudl_cleanup(struct cpudl *cp)
|
||||
{
|
||||
/*
|
||||
* nothing to do for the moment
|
||||
*/
|
||||
free_cpumask_var(cp->free_cpus);
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче