diff options
Diffstat (limited to 'Src/exec.c')
-rw-r--r-- | Src/exec.c | 1 |
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))) { |