aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/check-perf-trace.py
diff options
context:
space:
mode:
authorMathieu Poirier <[email protected]>2019-02-12 17:16:10 +0000
committerArnaldo Carvalho de Melo <[email protected]>2019-02-14 18:18:06 +0000
commitae4d9f5236439ef08f9963f39d5984959b1ae04d (patch)
tree00e8f8ab74643994b64c089bee59e1e7546dd58c /tools/perf/scripts/python/check-perf-trace.py
parentperf cs-etm: Introducing function cs_etm_decoder__init_dparams() (diff)
downloadkernel-ae4d9f5236439ef08f9963f39d5984959b1ae04d.tar.gz
kernel-ae4d9f5236439ef08f9963f39d5984959b1ae04d.zip
perf cs-etm: Fix memory leak in error path
Memory allocated for variable 't_params' isn't released properly in the error path of function cs_etm_queue *cs_etm__alloc_queue() and cs_etm__dump_event(), something this patch addresses. Signed-off-by: Mathieu Poirier <[email protected]> Cc: Jiri Olsa <[email protected]> Cc: Leo Yan <[email protected]> Cc: Peter Zijlstra <[email protected]> Cc: Suzuki K Poulouse <[email protected]> Cc: [email protected] Link: http://lkml.kernel.org/r/[email protected] Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/check-perf-trace.py')
0 files changed, 0 insertions, 0 deletions