about summary refs log tree commit diff
path: root/Src/exec.c
diff options
context:
space:
mode:
authorPeter Stephenson <pws@users.sourceforge.net>2011-06-23 19:29:24 +0000
committerPeter Stephenson <pws@users.sourceforge.net>2011-06-23 19:29:24 +0000
commite1680e68409892a4737243fff9ea9b0043e99ea0 (patch)
tree86c97e0ffe5bd9709ba6964e1e67ff32d769434b /Src/exec.c
parentccc76c933f41f24a596397af4c529486b71368aa (diff)
downloadzsh-e1680e68409892a4737243fff9ea9b0043e99ea0.tar.gz
zsh-e1680e68409892a4737243fff9ea9b0043e99ea0.tar.xz
zsh-e1680e68409892a4737243fff9ea9b0043e99ea0.zip
29503: Missing popheap() on failed autoload
Diffstat (limited to 'Src/exec.c')
-rw-r--r--Src/exec.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/Src/exec.c b/Src/exec.c
index 87a167ba6..644a58367 100644
--- a/Src/exec.c
+++ b/Src/exec.c
@@ -4343,6 +4343,7 @@ loadautofn(Shfunc shf, int fksh, int autol)
     }
     if (!prog) {
 	zsfree(fname);
+	popheap();
 	return NULL;
     }
     if (ksh == 2 || (ksh == 1 && isset(KSHAUTOLOAD))) {