From 1ad8fee65d2b3e73e7c59a23e45f5edc273f44f1 Mon Sep 17 00:00:00 2001 From: root Date: Thu, 19 Jan 2006 16:43:36 +0000 Subject: [PATCH] *** empty log message *** --- src/ptytty.C | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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* -- 2.34.1