aboutsummaryrefslogtreecommitdiffstats
path: root/tools/lib/api/debug.c
diff options
context:
space:
mode:
authorWang Nan <[email protected]>2016-02-12 20:01:17 +0000
committerArnaldo Carvalho de Melo <[email protected]>2016-02-12 20:01:17 +0000
commitd20a5f2b277b2f46548fb60f2bb95ad9a601d3fe (patch)
tree141539c9f6ead8282571b298ef54919236e92154 /tools/lib/api/debug.c
parentperf tools: Use perf_event_terms__purge() for non-malloced terms (diff)
downloadkernel-d20a5f2b277b2f46548fb60f2bb95ad9a601d3fe.tar.gz
kernel-d20a5f2b277b2f46548fb60f2bb95ad9a601d3fe.zip
perf tools: Free the terms list_head in parse_events__free_terms()
Fixing a leak, since code calling parse_events__free_terms() expect it to free the list_head too. Signed-off-by: Wang Nan <[email protected]> Acked-by: Jiri Olsa <[email protected]> Cc: Alexei Starovoitov <[email protected]> Cc: He Kuang <[email protected]> Cc: Masami Hiramatsu <[email protected]> Cc: Namhyung Kim <[email protected]> Cc: Zefan Li <[email protected]> Cc: [email protected] [ Spun off from another patch ] Link: http://lkml.kernel.org/r/[email protected] Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/lib/api/debug.c')
0 files changed, 0 insertions, 0 deletions