summaryrefslogtreecommitdiffstats
path: root/drivers/char/synclink_gt.c
diff options
context:
space:
mode:
authorJiri Slaby <jirislaby@gmail.com>2007-10-18 03:06:28 -0700
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2007-10-18 14:37:27 -0700
commit4384a3fae10c1badb859d2c98a6d2944b14609f6 (patch)
tree08359a5b77d7535ddf80fddbd641f665213cc2af /drivers/char/synclink_gt.c
parent57fedc7ae5f712c9c24f5baf30a0fbf38c1bda20 (diff)
downloadblackbird-op-linux-4384a3fae10c1badb859d2c98a6d2944b14609f6.tar.gz
blackbird-op-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/char/synclink_gt.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud