summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/syscall-counts.py
diff options
context:
space:
mode:
authorRussell King - ARM Linux <linux@arm.linux.org.uk>2011-01-04 01:31:45 +0300
committerDan Williams <dan.j.williams@intel.com>2011-01-05 06:16:10 +0300
commitdafa73171be8dd31b485f5839e3376b1ca908e24 (patch)
tree70d6d14b7be6543cbfe777a523c75dc0a332c402 /tools/perf/scripts/python/syscall-counts.py
parentbf072af461c166964fb110cfcafccd752fbb4c64 (diff)
downloadlinux-dafa73171be8dd31b485f5839e3376b1ca908e24.tar.xz
ARM: PL08x: fix a leak when preparing TXDs
If we fail to allocate the LLI, the prep_* function will return NULL. However, the TXD we allocated will not be placed on any list, nor will it be freed - we'll just drop all references to it. Make sure we free it rather than leaking TXDs. Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk> Acked-by: Linus Walleij <linus.walleij@stericsson.com> Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions