summaryrefslogtreecommitdiff
path: root/drivers/tty/serial/68328serial.c
diff options
context:
space:
mode:
authorJiri Slaby <jslaby@suse.cz>2012-08-07 21:47:26 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-08-10 13:27:50 -0700
commit6f9ea7ad7be10dca95e7ca57221c5f81be48d852 (patch)
tree83749543072a6c0194ae4f065c023f6be2646185 /drivers/tty/serial/68328serial.c
parent090abf7b91645c1936ba959b1e1cd6d09110779c (diff)
downloadlinux-3.10-6f9ea7ad7be10dca95e7ca57221c5f81be48d852.tar.gz
linux-3.10-6f9ea7ad7be10dca95e7ca57221c5f81be48d852.tar.bz2
linux-3.10-6f9ea7ad7be10dca95e7ca57221c5f81be48d852.zip
TTY: pty, stop passing NULL to free_tty_struct
In case alloc_tty_struct fails in pty_common_install, we pass NULL to free_tty_struct. This is invalid as the function is not ready to cope with that. And even if it was, it is not nice to do that anyway. Signed-off-by: Jiri Slaby <jslaby@suse.cz> Reported-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/tty/serial/68328serial.c')
0 files changed, 0 insertions, 0 deletions