aboutsummaryrefslogtreecommitdiff
path: root/drivers/fpga/fpga-mgr.c
diff options
context:
space:
mode:
authorChen Hui <[email protected]>2022-11-08 15:23:02 +0800
committerViresh Kumar <[email protected]>2022-11-09 12:20:05 +0530
commit9901c21bcaf2f01fe5078f750d624f4ddfa8f81b (patch)
tree66bacf469c46b7032f14c8704f791a6895c9f129 /drivers/fpga/fpga-mgr.c
parent1313edfdcd79ac8f7aa92162db646eb0eb7a32c2 (diff)
cpufreq: qcom-hw: Fix memory leak in qcom_cpufreq_hw_read_lut()
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 <[email protected]> Reviewed-by: Sibi Sankar <[email protected]> Signed-off-by: Viresh Kumar <[email protected]>
Diffstat (limited to 'drivers/fpga/fpga-mgr.c')
0 files changed, 0 insertions, 0 deletions