diff options
| author | Mathieu Poirier <[email protected]> | 2019-02-12 17:16:10 +0000 |
|---|---|---|
| committer | Arnaldo Carvalho de Melo <[email protected]> | 2019-02-14 18:18:06 +0000 |
| commit | ae4d9f5236439ef08f9963f39d5984959b1ae04d (patch) | |
| tree | 00e8f8ab74643994b64c089bee59e1e7546dd58c /tools/perf/scripts/python/sched-migration.py | |
| parent | perf cs-etm: Introducing function cs_etm_decoder__init_dparams() (diff) | |
| download | kernel-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/sched-migration.py')
0 files changed, 0 insertions, 0 deletions
