From: Andrew Morton Date: Wed, 20 Feb 2013 02:13:49 +0000 (+1100) Subject: sched-proc-sched_stat-fails-on-very-very-large-machines-fix X-Git-Tag: next-20130220~1^2~623 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=587555bd83dd82f3461b3a568343199231d674f2;p=karo-tx-linux.git sched-proc-sched_stat-fails-on-very-very-large-machines-fix fix memleak Cc: Dave Jones Cc: Ingo Molnar Cc: Nathan Zimmer Cc: Peter Zijlstra Signed-off-by: Andrew Morton --- diff --git a/kernel/sched/stats.c b/kernel/sched/stats.c index 33a85c90045e..7eecdc7bb775 100644 --- a/kernel/sched/stats.c +++ b/kernel/sched/stats.c @@ -76,8 +76,8 @@ static int show_schedstat(struct seq_file *seq, void *v) } rcu_read_unlock(); #endif - kfree(mask_str); } + kfree(mask_str); return 0; }