From: Mike Galbraith Date: Wed, 5 Jan 2011 10:11:25 +0000 (+0100) Subject: sched: Fix struct autogroup memory leak X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=e9aa1dd19fe49b5aed3ca94aab87576e534d2a39;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git 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 Signed-off-by: Peter Zijlstra LKML-Reference: <1294222285.8369.2.camel@marge.simson.net> Signed-off-by: Ingo Molnar --- diff --git a/kernel/sched.c b/kernel/sched.c index 54b58ec99fd4..a8478a217dee 100644 --- a/kernel/sched.c +++ b/kernel/sched.c @@ -8377,6 +8377,7 @@ static void free_sched_group(struct task_group *tg) { free_fair_sched_group(tg); free_rt_sched_group(tg); + autogroup_free(tg); kfree(tg); }