mirror of
http://galexander.org/git/simplesshd.git
synced 2024-12-28 17:08:08 +00:00
don't call pty_release() because it always fails, and because we never
pty_setowner()ed in the first place. never noticed it before because it's only called if the shell command fails (apparently)
This commit is contained in:
parent
beed31bead
commit
651ba21816
@ -311,9 +311,9 @@ static void closechansess(struct Channel *channel) {
|
||||
li = chansess_login_alloc(chansess);
|
||||
login_logout(li);
|
||||
login_free_entry(li);
|
||||
#endif /* 0 */
|
||||
|
||||
pty_release(chansess->tty);
|
||||
#endif /* 0 */
|
||||
m_free(chansess->tty);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user