1
0
mirror of http://galexander.org/git/simplesshd.git synced 2024-11-14 02:59:05 +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:
Greg Alexander 2017-04-30 11:53:20 -04:00
parent beed31bead
commit 651ba21816

View File

@ -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);
}