mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-09-04 10:41:11 +02:00
29503: Missing popheap() on failed autoload
This commit is contained in:
parent
ccc76c933f
commit
e1680e6840
3 changed files with 6 additions and 5 deletions
|
@ -1,3 +1,7 @@
|
|||
2011-06-23 Peter Stephenson <p.w.stephenson@ntlworld.com>
|
||||
|
||||
* 29503: Src/exec.c: Missing popheap() on failed autoload.
|
||||
|
||||
2011-06-20 Peter Stephenson <pws@csr.com>
|
||||
|
||||
* unposted: update version to 4.3.12-dev-1 as wordcode
|
||||
|
@ -15038,5 +15042,5 @@
|
|||
|
||||
*****************************************************
|
||||
* This is used by the shell to define $ZSH_PATCHLEVEL
|
||||
* $Revision: 1.5379 $
|
||||
* $Revision: 1.5380 $
|
||||
*****************************************************
|
||||
|
|
|
@ -2146,10 +2146,6 @@ doexpansion(char *s, int lst, int olst, int explincmd)
|
|||
ss = quotename(ss, NULL);
|
||||
untokenize(ss);
|
||||
inststr(ss);
|
||||
#if 0
|
||||
if (olst != COMP_EXPAND_COMPLETE || nonempty(vl) ||
|
||||
(zlemetacs && zlemetaline[zlemetacs-1] != '/')) {
|
||||
#endif
|
||||
if (nonempty(vl) || !first) {
|
||||
spaceinline(1);
|
||||
zlemetaline[zlemetacs++] = ' ';
|
||||
|
|
|
@ -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))) {
|
||||
|
|
Loading…
Reference in a new issue