Commit e37736777254ce1abc85493a5cacbefe5983b896
Committed by
Rafael J. Wysocki
1 parent
e4df1cbcc1
Exists in
smarc-l5.0.0_1.0.0-ga
and in
5 other branches
Fix memory leak in cpufreq stats.
When system enters sleep, non-boot CPUs will be disabled. Cpufreq stats sysfs is created when the CPU is up, but it is not freed when the CPU is going down. This will cause memory leak. Signed-off-by: xiaobing tu <xiaobing.tu@intel.com> Signed-off-by: guifang tang <guifang.tang@intel.com> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Showing 1 changed file with 1 additions and 0 deletions Side-by-side Diff