aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorJosé Expósito <[email protected]>2021-12-08 18:11:13 +0100
committerArnaldo Carvalho de Melo <[email protected]>2022-01-14 11:46:59 -0300
commite000ea0beffb5497425054b151369fe37a792ece (patch)
tree32c4b42083739870ed72db1daebe55b7e853a941 /tools/perf/scripts/python
parent99fc11bb5b6f19d2c3671d6cf38571cb3dedb472 (diff)
perf metricgroup: Fix use after free in metric__new()
We shouldn't free() something that will be used in the next line, fix it. Fixes: b85a4d61d3022608 ("perf metric: Allow modifiers on metrics") Addresses-Coverity-ID: 1494000 Signed-off-by: José Expósito <[email protected]> Cc: Alexander Shishkin <[email protected]> Cc: Andi Kleen <[email protected]> Cc: Ian Rogers <[email protected]> Cc: Jiri Olsa <[email protected]> Cc: John Garry <[email protected]> Cc: Mark Rutland <[email protected]> Cc: Namhyung Kim <[email protected]> Cc: Peter Zijlstra <[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')
0 files changed, 0 insertions, 0 deletions