diff options
author | Mike Galbraith <efault@gmx.de> | 2011-01-05 05:11:25 -0500 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2011-01-07 09:54:37 -0500 |
commit | e9aa1dd19fe49b5aed3ca94aab87576e534d2a39 (patch) | |
tree | 04652389e0bd04e37a327002c21b8215c972eda8 /kernel/sched.c | |
parent | 0ca0873555c0abe17b28c25b19f82857c0ddd2bc (diff) |
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>
Diffstat (limited to 'kernel/sched.c')
-rw-r--r-- | kernel/sched.c | 1 |
1 files changed, 1 insertions, 0 deletions
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) | |||
8377 | { | 8377 | { |
8378 | free_fair_sched_group(tg); | 8378 | free_fair_sched_group(tg); |
8379 | free_rt_sched_group(tg); | 8379 | free_rt_sched_group(tg); |
8380 | autogroup_free(tg); | ||
8380 | kfree(tg); | 8381 | kfree(tg); |
8381 | } | 8382 | } |
8382 | 8383 | ||