tty: fix missing assignment
authorDan Carpenter <dan.carpenter@oracle.com>
Tue, 24 Jul 2012 11:51:52 +0000 (12:51 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 10 Aug 2012 19:54:27 +0000 (12:54 -0700)
commit4ac5d7050e4e4d63751e78fb152a274d05c08563
tree385913c951b9d69361ae195f5817d2601473d770
parent6b9563a714138dc2377c500e588e31f7166c92f0
tty: fix missing assignment

We're trying to save the termios state and we need to allocate a buffer
to do it.  Smatch complains that the buffer is leaked at the end of the
function.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Alan Cox <alan@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/tty_io.c