aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/flamegraph.py
diff options
context:
space:
mode:
authorzhaimingbing <[email protected]>2023-11-24 17:26:57 +0800
committerArnaldo Carvalho de Melo <[email protected]>2023-11-27 10:21:27 -0300
commit4a18ab467820b75436ea9ddd42ee7cb10efa491c (patch)
treeeff55ae4cffac34da08f62d802c63bcdb0c96dbd /tools/perf/scripts/python/flamegraph.py
parenta24d9d9dc096fc0d0bd85302c9a4fe4fe3b1107b (diff)
perf lock: Fix a memory leak on an error path
if a strdup-ed string is NULL,the allocated memory needs freeing. Signed-off-by: zhaimingbing <[email protected]> Acked-by: Ingo Molnar <[email protected]> Cc: Adrian Hunter <[email protected]> Cc: Alexander Shishkin <[email protected]> Cc: Ian Rogers <[email protected]> Cc: Jiri Olsa <[email protected]> Cc: Li Dong <[email protected]> Cc: Mark Rutland <[email protected]> Cc: Namhyung Kim <[email protected]> Cc: Peter Zijlstra <[email protected]> Cc: Sean Christopherson <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/flamegraph.py')
0 files changed, 0 insertions, 0 deletions