diff options
| author | Namhyung Kim <namhyung@kernel.org> | 2026-07-13 16:45:36 -0700 |
|---|---|---|
| committer | Namhyung Kim <namhyung@kernel.org> | 2026-07-15 16:50:11 -0700 |
| commit | e1f522ac439f94d56cf0d9a3c82d1953646d377a (patch) | |
| tree | 5eb876941daa92734c2369840e5f0cdd84f32ecf /tools/perf/scripts/python/bin | |
| parent | 60de2c6561ae57b5f2c50efecc1fa1f0081f731a (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/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions
