about summary refs log tree commit diff
path: root/Src/exec.c
diff options
context:
space:
mode:
authorBart Schaefer <barts@users.sourceforge.net>2000-09-26 15:08:35 +0000
committerBart Schaefer <barts@users.sourceforge.net>2000-09-26 15:08:35 +0000
commit74ff6d6dbed67db63cd05fd6e96ee40dc4be6147 (patch)
tree9feb6ebb32327641b449ccb2a85506862184af0b /Src/exec.c
parent756f8186f25120bfb4c8e2ae9eaf601f329b9660 (diff)
downloadzsh-74ff6d6dbed67db63cd05fd6e96ee40dc4be6147.tar.gz
zsh-74ff6d6dbed67db63cd05fd6e96ee40dc4be6147.tar.xz
zsh-74ff6d6dbed67db63cd05fd6e96ee40dc4be6147.zip
Tweak to STTY fix.
Diffstat (limited to 'Src/exec.c')
-rw-r--r--Src/exec.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/Src/exec.c b/Src/exec.c
index 8ac66ede7..4a8aab335 100644
--- a/Src/exec.c
+++ b/Src/exec.c
@@ -2363,6 +2363,9 @@ execcmd(Estate state, int input, int output, int how, int last1)
 	xtrerr = oxtrerr;
 	zclose(fil);
     }
+
+    zsfree(STTYval);
+    STTYval = 0;
 }
 
 /* Arrange to have variables restored. */