Skip to content
Commit cea04f3d authored by Peng Ma's avatar Peng Ma Committed by Rafael J. Wysocki
Browse files

cpufreq: amd-pstate: fix memory leak on CPU EPP exit



The cpudata memory from kzalloc() in amd_pstate_epp_cpu_init() is
not freed in the analogous exit function, so fix that.

Signed-off-by: default avatarPeng Ma <andypma@tencent.com>
Acked-by: default avatarMario Limonciello <mario.limonciello@amd.com>
Reviewed-by: default avatarPerry Yuan <Perry.Yuan@amd.com>
[ rjw: Subject and changelog edits ]
Signed-off-by: default avatarRafael J. Wysocki <rafael.j.wysocki@intel.com>
parent 0c181b1d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment