From e1680e68409892a4737243fff9ea9b0043e99ea0 Mon Sep 17 00:00:00 2001 From: Peter Stephenson Date: Thu, 23 Jun 2011 19:29:24 +0000 Subject: 29503: Missing popheap() on failed autoload --- Src/exec.c | 1 + 1 file changed, 1 insertion(+) (limited to 'Src/exec.c') 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))) { -- cgit 1.4.1