aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/util/annotate.c
diff options
context:
space:
mode:
authorIan Rogers <[email protected]>2023-06-11 23:36:07 +0000
committerArnaldo Carvalho de Melo <[email protected]>2023-06-12 21:18:14 +0000
commit0f0d1354a54cf679e773cae551b4523f5ec00c94 (patch)
tree00e3138aaf4b5461bf3ce302d8eeba309007c61c /tools/perf/util/annotate.c
parentlib subcmd: Avoid memory leak in exclude_cmds (diff)
downloadkernel-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