diff options
author | Dan Carpenter <dan.carpenter@oracle.com> | 2012-07-24 13:52:04 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-08-10 21:54:27 +0200 |
commit | dc6802a771e91050fb686dfeeb9de4c6c9cadb79 (patch) | |
tree | 1fa2d7ffa108e53a2433e816a8195aec7d6050f0 /drivers/tty/synclink_gt.c | |
parent | tty: fix missing assignment (diff) | |
download | linux-dc6802a771e91050fb686dfeeb9de4c6c9cadb79.tar.xz linux-dc6802a771e91050fb686dfeeb9de4c6c9cadb79.zip |
tty: handle NULL parameters in free_tty_struct()
We sometimes pass NULL pointers to free_tty_struct(). One example where
it can happen is in the error handling code in pty_common_install().
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/tty/synclink_gt.c')
0 files changed, 0 insertions, 0 deletions