From 587555bd83dd82f3461b3a568343199231d674f2 Mon Sep 17 00:00:00 2001 From: Andrew Morton Date: Wed, 20 Feb 2013 13:13:49 +1100 Subject: [PATCH] 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 --- kernel/sched/stats.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } -- 2.39.5