diff options
| author | Ian Rogers <[email protected]> | 2023-06-11 23:36:07 +0000 |
|---|---|---|
| committer | Arnaldo Carvalho de Melo <[email protected]> | 2023-06-12 21:18:14 +0000 |
| commit | 0f0d1354a54cf679e773cae551b4523f5ec00c94 (patch) | |
| tree | 00e3138aaf4b5461bf3ce302d8eeba309007c61c /tools/perf/util/annotate.c | |
| parent | lib subcmd: Avoid memory leak in exclude_cmds (diff) | |
| download | kernel-0f0d1354a54cf679e773cae551b4523f5ec00c94.tar.gz kernel-0f0d1354a54cf679e773cae551b4523f5ec00c94.zip | |
perf help: Ensure clean_cmds is called on all paths
Avoid potential memory leaks.
Committer notes:
This is right before calling exit(1), so just to clean up memory leak
checker detection.
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
