diff options
author | Mathieu Poirier <[email protected]> | 2019-02-12 10:16:10 -0700 |
---|---|---|
committer | Arnaldo Carvalho de Melo <[email protected]> | 2019-02-14 15:18:06 -0300 |
commit | ae4d9f5236439ef08f9963f39d5984959b1ae04d (patch) | |
tree | 00e8f8ab74643994b64c089bee59e1e7546dd58c /tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py | |
parent | 65963e5b4dfa9b9ba4bdf7ef8dc7d4424cfd2097 (diff) |
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/Perf-Trace-Util/lib/Perf/Trace/Util.py')
0 files changed, 0 insertions, 0 deletions