diff options
author | Shuah Khan <skhan@linuxfoundation.org> | 2025-03-06 01:53:39 +0300 |
---|---|---|
committer | Shuah Khan <skhan@linuxfoundation.org> | 2025-03-06 23:27:38 +0300 |
commit | d52d2b311a5a251ddd723d1dac881dc46e8803ab (patch) | |
tree | fc2ddfda18be77b9ab2a20b0bd46cbe9170629f8 /tools/perf/scripts/python/libxed.py | |
parent | 80d3175a7e073fad281bdc5c7e881f46ab806d97 (diff) | |
download | linux-d52d2b311a5a251ddd723d1dac881dc46e8803ab.tar.xz |
pm: cpupower: Fix cmd_monitor() error legs to free cpu_topology
cmd_monitor() calls get_cpu_topology() to allocate memory for
cpu topology and fails to release in error legs.
Fix it to call cpu_topology_release() from error legs.
Link: https://lore.kernel.org/r/20250305225342.19447-2-skhan@linuxfoundation.org
Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/libxed.py')
0 files changed, 0 insertions, 0 deletions