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)
sigsegv_dump
Greg Alexander 7 years ago
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…
Cancel
Save