diff options
author | Jiri Slaby <jirislaby@gmail.com> | 2007-10-18 12:06:28 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-10-18 23:37:27 +0200 |
commit | 4384a3fae10c1badb859d2c98a6d2944b14609f6 (patch) | |
tree | 08359a5b77d7535ddf80fddbd641f665213cc2af /drivers/block/Kconfig | |
parent | Char: rocket, remove pci_read_config_dword(CLASS_REVISION) (diff) | |
download | linux-4384a3fae10c1badb859d2c98a6d2944b14609f6.tar.xz linux-4384a3fae10c1badb859d2c98a6d2944b14609f6.zip |
Char: rocket, remove potential leak in module_init
if (controller && !request_region) then we leaked a tty driver struct, fix it
by adding function deinit tail with goto-ing into it (and from other fail
paths too)
Signed-off-by: Jiri Slaby <jirislaby@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/block/Kconfig')
0 files changed, 0 insertions, 0 deletions