Skip to content
Commit e3773677 authored by Tu, Xiaobing's avatar Tu, Xiaobing Committed by Rafael J. Wysocki
Browse files

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: default avatarxiaobing tu <xiaobing.tu@intel.com>
Signed-off-by: default avatarguifang tang <guifang.tang@intel.com>
Signed-off-by: default avatarRafael J. Wysocki <rafael.j.wysocki@intel.com>
parent e4df1cbc
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment