Commit 6a7cd273 authored by Li Zefan's avatar Li Zefan Committed by Ingo Molnar

sched/deadline: Fix memory leak

Free cpudl->free_cpus allocated in cpudl_init().
Signed-off-by: default avatarLi Zefan <lizefan@huawei.com>
Acked-by: default avatarJuri Lelli <juri.lelli@gmail.com>
Signed-off-by: default avatarPeter Zijlstra <peterz@infradead.org>
Cc: <stable@vger.kernel.org> # 3.14+
Link: http://lkml.kernel.org/r/534F36CE.2000409@huawei.comSigned-off-by: default avatarIngo Molnar <mingo@kernel.org>
parent 5bfd126e
......@@ -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);
}
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment