mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-25 13:14:07 +08:00
sched: Fix struct autogroup memory leak
Seems I lost a change somewhere, leaking memory. sched: fix struct autogroup memory leak Add missing change to actually use autogroup_free(). Signed-off-by: Mike Galbraith <efault@gmx.de> Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl> LKML-Reference: <1294222285.8369.2.camel@marge.simson.net> Signed-off-by: Ingo Molnar <mingo@elte.hu>
This commit is contained in:
parent
0ca0873555
commit
e9aa1dd19f
@ -8377,6 +8377,7 @@ static void free_sched_group(struct task_group *tg)
|
|||||||
{
|
{
|
||||||
free_fair_sched_group(tg);
|
free_fair_sched_group(tg);
|
||||||
free_rt_sched_group(tg);
|
free_rt_sched_group(tg);
|
||||||
|
autogroup_free(tg);
|
||||||
kfree(tg);
|
kfree(tg);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user