commit | 335adde689150d2fcf4df3cb26a6fc6740ed1f3e | [log] [tgz] |
---|---|---|
author | Alan Cox <alan@redhat.com> | Mon Oct 13 10:43:48 2008 +0100 |
committer | Linus Torvalds <torvalds@linux-foundation.org> | Mon Oct 13 09:51:44 2008 -0700 |
tree | 93e11b89e96e8baf15a276e4008e08bb5873fb90 | |
parent | fe9cd962a62cb5f666cf48b9941d3f3cde134254 [diff] |
pty: Fix allocation failure double free The updating and moving around of the pty code added a bug where both the helper and caller free the main tty struct (the pty driver must free the o_tty pair itself however). Signed-off-by: Alan Cox <alan@redhat.com> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>