aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/sctop.py
diff options
context:
space:
mode:
authorTom Zanussi <[email protected]>2010-11-10 13:52:32 +0000
committerTom Zanussi <[email protected]>2010-11-10 13:52:32 +0000
commite8719adf30c136319a77824d032b3a185148f8f9 (patch)
tree55773bb481e65568be3093aaf205303d3f01592d /tools/perf/scripts/python/sctop.py
parentperf: Fix usages of profile_cpu in builtin-top.c to use cpu_list (diff)
downloadkernel-e8719adf30c136319a77824d032b3a185148f8f9.tar.gz
kernel-e8719adf30c136319a77824d032b3a185148f8f9.zip
perf trace scripting: fix some small memory leaks and missing error checks
Free the other two fields of script_desc which somehow got overlooked, free malloc'ed args in case exec fails, and add missing checks for failed mallocs. Signed-off-by: Tom Zanussi <[email protected]> Acked-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/sctop.py')
0 files changed, 0 insertions, 0 deletions