[CPUFREQ] Fix up compile of cpufreq_stats

Whoops, I lost a hunk of the last patch somehow.

Signed-off-by: Dave Jones <davej@redhat.com>
This commit is contained in:
Dave Jones 2005-11-01 23:13:45 -08:00
parent bc7b26fd7c
commit b7fb358c7c
1 changed files with 1 additions and 0 deletions

View File

@ -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;