Files
linux-apfs/drivers
Jiri Slaby 81c79838ca TTY: pty, fix tty buffers leak
After commit "TTY: move tty buffers to tty_port", the tty buffers are
not freed in some drivers. This is because tty_port_destructor is not
called whenever a tty_port is freed. This was an assumption I counted
with but was unfortunately untrue. So fix the drivers to fulfil this
assumption.

PTY is one of those, here we just need to use tty_port_put instead of
kfree. (Assuming tty_port_destructor does not need port->ops to be set
which we change here too.)

Signed-off-by: Jiri Slaby <jslaby@suse.cz>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2012-11-15 17:18:55 -08:00
..
2012-10-15 14:45:51 -04:00
2012-10-24 16:58:53 +02:00
2012-10-17 15:53:03 -05:00
2012-10-29 09:00:57 -07:00
2012-11-15 17:18:55 -08:00
2012-10-16 18:07:12 -07:00