From: root Date: Thu, 19 Jan 2006 16:43:36 +0000 (+0000) Subject: *** empty log message *** X-Git-Url: http://git.openbox.org/?a=commitdiff_plain;h=1ad8fee65d2b3e73e7c59a23e45f5edc273f44f1;p=dana%2Furxvt.git *** empty log message *** --- diff --git a/src/ptytty.C b/src/ptytty.C index 6040c438..7734e8c4 100644 --- a/src/ptytty.C +++ b/src/ptytty.C @@ -408,8 +408,11 @@ rxvt_ptytty_unix::put () chmod (name, RESTORE_TTY_MODE); chown (name, 0, ttyconf.gid); - if (pty >= 0) close (pty); close_tty (); + + if (pty >= 0) + close (pty); + free (name); pty = tty = -1; @@ -607,6 +610,7 @@ void rxvt_ptytty_server () _exit (EXIT_SUCCESS); } } + #endif // a "factory" *g*