From: Dave Jones Date: Wed, 2 Nov 2005 07:13:45 +0000 (-0800) Subject: [CPUFREQ] Fix up compile of cpufreq_stats X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=b7fb358c7c36a14927d5523ea674e69f90c51d1d;p=linux-beck.git [CPUFREQ] Fix up compile of cpufreq_stats Whoops, I lost a hunk of the last patch somehow. Signed-off-by: Dave Jones --- diff --git a/drivers/cpufreq/cpufreq_stats.c b/drivers/cpufreq/cpufreq_stats.c index 19b4c3e7c390..7ddf714c4d43 100644 --- a/drivers/cpufreq/cpufreq_stats.c +++ b/drivers/cpufreq/cpufreq_stats.c @@ -247,6 +247,7 @@ cpufreq_stats_create_table (struct cpufreq_policy *policy, return 0; error_out: cpufreq_cpu_put(data); +error_get_fail: kfree(stat); cpufreq_stats_table[cpu] = NULL; return ret;