aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/exported-sql-viewer.py
diff options
context:
space:
mode:
authorNamhyung Kim <[email protected]>2020-09-15 12:18:10 +0900
committerArnaldo Carvalho de Melo <[email protected]>2020-09-15 08:58:44 -0300
commitb033ab11ad0c7f9a9c9fa4a1ac2ffad14454a9f3 (patch)
tree2488717448d1fcd646d090b8eee0369418b31256 /tools/perf/scripts/python/exported-sql-viewer.py
parent4f57a1ed749a81ec553d89233cab53db9365e193 (diff)
perf metric: Fix some memory leaks - part 2
The metric_event_delete() missed to free expr->metric_events and it should free an expr when metric_refs allocation failed. Fixes: 4ea2896715e67 ("perf metric: Collect referenced metrics in struct metric_expr") Signed-off-by: Namhyung Kim <[email protected]> Acked-by: Jiri Olsa <[email protected]> Cc: Alexander Shishkin <[email protected]> Cc: Andi Kleen <[email protected]> Cc: Ian Rogers <[email protected]> Cc: John Garry <[email protected]> Cc: Kajol Jain <[email protected]> Cc: Mark Rutland <[email protected]> Cc: Peter Zijlstra <[email protected]> Cc: Stephane Eranian <[email protected]> Link: http://lore.kernel.org/lkml/[email protected] Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions