diff options
| author | Ian Rogers <[email protected]> | 2023-06-11 23:36:06 +0000 |
|---|---|---|
| committer | Arnaldo Carvalho de Melo <[email protected]> | 2023-06-12 21:18:13 +0000 |
| commit | 657a3efee43a29d13c4f30e4c8f6a178fd2bf14a (patch) | |
| tree | 25b2143466ed0db54a661f0b4234a32b27ef9f7f /tools/perf/util/annotate.c | |
| parent | perf cs-etm: Add exception level consistency check (diff) | |
| download | kernel-657a3efee43a29d13c4f30e4c8f6a178fd2bf14a.tar.gz kernel-657a3efee43a29d13c4f30e4c8f6a178fd2bf14a.zip | |
lib subcmd: Avoid memory leak in exclude_cmds
exclude_cmds will shorten the cmds names array, before doing so free the
removed entry.
Signed-off-by: Ian Rogers <[email protected]>
Cc: Adrian Hunter <[email protected]>
Cc: Alexander Shishkin <[email protected]>
Cc: André Almeida <[email protected]>
Cc: Darren Hart <[email protected]>
Cc: Davidlohr Bueso <[email protected]>
Cc: Ingo Molnar <[email protected]>
Cc: Jiri Olsa <[email protected]>
Cc: Mark Rutland <[email protected]>
Cc: Namhyung Kim <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Thomas Gleixner <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/perf/util/annotate.c')
0 files changed, 0 insertions, 0 deletions
