aboutsummaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/proc.py
diff options
context:
space:
mode:
authorViresh Kumar <[email protected]>2021-06-18 13:31:27 +0530
committerViresh Kumar <[email protected]>2021-07-01 07:32:01 +0530
commitfe2535a44904a77615a3af8e8fd7dafb98fb0e1b (patch)
tree4226c6168a7bcca675f64abef193dc890885173f /scripts/gdb/linux/proc.py
parent9357a380f90a89a168d505561d11f68272e0e768 (diff)
cpufreq: CPPC: Fix potential memleak in cppc_cpufreq_cpu_init
It's a classic example of memleak, we allocate something, we fail and never free the resources. Make sure we free all resources on policy ->init() failures. Fixes: a28b2bfc099c ("cppc_cpufreq: replace per-cpu data array with a list") Tested-by: Vincent Guittot <[email protected]> Reviewed-by: Ionela Voinescu <[email protected]> Tested-by: Qian Cai <[email protected]> Signed-off-by: Viresh Kumar <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/proc.py')
0 files changed, 0 insertions, 0 deletions