diff options
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | Src/Zle/compctl.c | 1 |
2 files changed, 6 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog index d592ef5cd..0c1cd02d9 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2008-11-11 Clint Adams <clint@zsh.org> + + * 26027: Src/Zle/compctl.c: free pprogc before it goes out of + scope in makecomplistflags. + 2008-11-11 Peter Stephenson <pws@csr.com> * 26025: Src/Zle/zle_main.c: prefer handling user input to diff --git a/Src/Zle/compctl.c b/Src/Zle/compctl.c index 58c81c2c8..f07f80877 100644 --- a/Src/Zle/compctl.c +++ b/Src/Zle/compctl.c @@ -3773,6 +3773,7 @@ makecomplistflags(Compctl cc, char *s, int incmd, int compadd) } he = up_histent(he); } + freepatprog(pprogc); } if ((t = cc->mask & (CC_ARRAYS | CC_INTVARS | CC_ENVVARS | CC_SCALARS | CC_READONLYS | CC_SPECIALS | CC_PARAMS))) |