diff options
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | Src/Zle/compctl.c | 1 |
2 files changed, 4 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog index 6abf6db9a..d5ced53d0 100644 --- a/ChangeLog +++ b/ChangeLog @@ -3,6 +3,10 @@ * 31281: Completion/Unix/Command/_du: _du: add support for Mac OS X +2013-04-20 Bart Schaefer <schaefer@zsh.org> + + * 31272: Src/Zle/compctl.c: avoid double free. + 2013-04-16 Peter Stephenson <p.stephenson@samsung.com> * Daniel Friesel: 31265: Completion/Unix/Command/_devtodo: diff --git a/Src/Zle/compctl.c b/Src/Zle/compctl.c index 0143370c7..ab1857c0a 100644 --- a/Src/Zle/compctl.c +++ b/Src/Zle/compctl.c @@ -398,7 +398,6 @@ get_compctl(char *name, char ***av, Compctl cc, int first, int isdef, int cl) if (cl) return 1; else { - freecompctl(cc); cclist = COMP_REMOVE; return 0; } |