diff options
author | 2009-03-25 00:18:35 +0000 | |
---|---|---|
committer | 2010-10-18 02:49:28 -0400 | |
commit | ac01e97d644da8e947ffa1bde5083290fe2e36e7 (patch) | |
tree | c2a97d4c239afb65376dbaa81aca7610b0883369 /tools/perf/scripts/python/syscall-counts.py | |
parent | Merge branch 'fix/misc' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound-2.6 (diff) | |
download | wireguard-linux-ac01e97d644da8e947ffa1bde5083290fe2e36e7.tar.xz wireguard-linux-ac01e97d644da8e947ffa1bde5083290fe2e36e7.zip |
spi/bfin_spi: fix resources leakage
Re-order setup() a bit so we don't leak memory/dma/gpio resources upon
errors. Also make sure we don't call kfree() twice on the same object.
Signed-off-by: Daniel Mack <daniel@caiaq.de>
Signed-off-by: Bryan Wu <cooloney@kernel.org>
Signed-off-by: Yi Li <yi.li@analog.com>
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions