summaryrefslogtreecommitdiff
path: root/tools/lib/python
diff options
context:
space:
mode:
authorNamhyung Kim <namhyung@kernel.org>2026-07-13 16:45:36 -0700
committerNamhyung Kim <namhyung@kernel.org>2026-07-15 16:50:11 -0700
commite1f522ac439f94d56cf0d9a3c82d1953646d377a (patch)
tree5eb876941daa92734c2369840e5f0cdd84f32ecf /tools/lib/python
parent60de2c6561ae57b5f2c50efecc1fa1f0081f731a (diff)
perf sched: Free subcommand string after perf sched stats
The first entry of the sched_usage is dynamically allocated in parse_options_subcommand() so it should be released at the end. Do not return from a subcommand directly. Fixes: 064790a3d4a8 ("perf sched stats: Add support for diff subcommand") Reviewed-and-tested-by: Swapnil Sapkal <swapnil.sapkal@amd.com> Signed-off-by: Namhyung Kim <namhyung@kernel.org>
Diffstat (limited to 'tools/lib/python')
0 files changed, 0 insertions, 0 deletions