mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-22 17:01:14 +00:00
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:
parent
5bfd126e80
commit
6a7cd273dc
1 changed files with 1 additions and 3 deletions
|
@ -210,7 +210,5 @@ int cpudl_init(struct cpudl *cp)
|
||||||
*/
|
*/
|
||||||
void cpudl_cleanup(struct cpudl *cp)
|
void cpudl_cleanup(struct cpudl *cp)
|
||||||
{
|
{
|
||||||
/*
|
free_cpumask_var(cp->free_cpus);
|
||||||
* nothing to do for the moment
|
|
||||||
*/
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue