diff options
author | Changbin Du <[email protected]> | 2019-03-16 16:05:48 +0800 |
---|---|---|
committer | Arnaldo Carvalho de Melo <[email protected]> | 2019-03-19 16:52:04 -0300 |
commit | 70c819e4bf1c5f492768b399d898d458ccdad2b6 (patch) | |
tree | cda940a6bbe702e23c567d8ff4cdd3ac98e4c749 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | 0dba9e4be95b59e77060645ca8e37ca3231061f5 (diff) |
perf top: Fix error handling in cmd_top()
We should go to the cleanup path, to avoid leaks, detected using gcc's
ASan.
Signed-off-by: Changbin Du <[email protected]>
Reviewed-by: Jiri Olsa <[email protected]>
Cc: Alexei Starovoitov <[email protected]>
Cc: Daniel Borkmann <[email protected]>
Cc: Namhyung Kim <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Steven Rostedt (VMware) <[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/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions