diff options
author | Chen Hui <judy.chenhui@huawei.com> | 2022-11-08 15:23:02 +0800 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2022-12-31 13:31:55 +0100 |
commit | 242e23be8f31ebd90525c57ee3244c28e99a1697 (patch) | |
tree | 5844f940196388cecea22d3381e75cb3063bb37f /arch/x86/kernel/cpu/intel.c | |
parent | cfea50b0e5972331c1274e2666b763a3f239f4c1 (diff) | |
download | linux-242e23be8f31ebd90525c57ee3244c28e99a1697.tar.gz |
cpufreq: qcom-hw: Fix memory leak in qcom_cpufreq_hw_read_lut()
[ Upstream commit 9901c21bcaf2f01fe5078f750d624f4ddfa8f81b ] If "cpu_dev" fails to get opp table in qcom_cpufreq_hw_read_lut(), the program will return, resulting in "table" resource is not released. Fixes: 51c843cf77bb ("cpufreq: qcom: Update the bandwidth levels on frequency change") Signed-off-by: Chen Hui <judy.chenhui@huawei.com> Reviewed-by: Sibi Sankar <quic_sibis@quicinc.com> Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org> Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'arch/x86/kernel/cpu/intel.c')
0 files changed, 0 insertions, 0 deletions