diff options
author | Vasiliy Kulikov <segoon@openwall.com> | 2010-11-19 19:41:45 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2010-12-01 02:25:46 +0100 |
commit | a4fb0b228e284107b9bdf44769bbdc80efd660e1 (patch) | |
tree | f05f07477404949287fe03e41632f0e4d733f483 /Documentation/serial | |
parent | serial: ifx6x60: free IRQ on error (diff) | |
download | linux-a4fb0b228e284107b9bdf44769bbdc80efd660e1.tar.xz linux-a4fb0b228e284107b9bdf44769bbdc80efd660e1.zip |
serial: ifx6x60: fix memory leak
If tty_register_driver() failed then tty_driver is still alive.
Free it with put_tty_driver().
Signed-off-by: Vasiliy Kulikov <segoon@openwall.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'Documentation/serial')
0 files changed, 0 insertions, 0 deletions