Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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 <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
- Loading branch information