Skip to content

Commit

Permalink
[CPUFREQ] fix cpumask memory leak in acpi-cpufreq on cpu hotplug.
Browse files Browse the repository at this point in the history
I came across a memory leak during a cyclic cpu-online-offline test.

Signed-off-by: Yu Luming <luming.yu@intel.com>
Cc: Len Brown <lenb@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Dave Jones <davej@redhat.com>
  • Loading branch information
Luming Yu authored and Dave Jones committed Jul 10, 2011
1 parent bccaeaf commit 50f4ddd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/cpufreq/acpi-cpufreq.c
Original file line number Diff line number Diff line change
Expand Up @@ -759,7 +759,7 @@ static void __exit acpi_cpufreq_exit(void)

cpufreq_unregister_driver(&acpi_cpufreq_driver);

free_percpu(acpi_perf_data);
free_acpi_perf_data();
}

module_param(acpi_pstate_strict, uint, 0644);
Expand Down

0 comments on commit 50f4ddd

Please sign in to comment.