summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/perl/bin/rwtop-record
diff options
context:
space:
mode:
authorTom Zanussi <tom.zanussi@linux.intel.com>2010-11-10 07:52:32 -0600
committerTom Zanussi <tom.zanussi@linux.intel.com>2010-11-10 07:52:32 -0600
commite8719adf30c136319a77824d032b3a185148f8f9 (patch)
tree55773bb481e65568be3093aaf205303d3f01592d /tools/perf/scripts/perl/bin/rwtop-record
parent01797c599816d39dfea47864c0f90cd50845811f (diff)
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 <tom.zanussi@linux.intel.com> Acked-by: Arnaldo Carvalho de Melo <acme@ghostprotocols.net>
Diffstat (limited to 'tools/perf/scripts/perl/bin/rwtop-record')
0 files changed, 0 insertions, 0 deletions