summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorJavier Carrasco <javier.carrasco.cruz@gmail.com>2024-05-23 23:24:59 +0200
committerViresh Kumar <viresh.kumar@linaro.org>2024-05-28 11:39:06 +0530
commitd01c84b97f19f1137211e90b0a910289a560019e (patch)
treee17d5ae32e7b93579e5abf14a90f6c2db92a8c54 /tools/perf/scripts/python/export-to-sqlite.py
parent074cffb5020ddcaa5fafcc55655e5da6ebe8c831 (diff)
cpufreq: qcom-nvmem: fix memory leaks in probe error paths
The code refactoring added new error paths between the np device node allocation and the call to of_node_put(), which leads to memory leaks if any of those errors occur. Add the missing of_node_put() in the error paths that require it. Cc: stable@vger.kernel.org Fixes: 57f2f8b4aa0c ("cpufreq: qcom: Refactor the driver to make it easier to extend") Signed-off-by: Javier Carrasco <javier.carrasco.cruz@gmail.com> Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions