From fa7c51971d93d407f50757fbe2f81c91c227878d Mon Sep 17 00:00:00 2001 From: Bart Schaefer Date: Sat, 20 Apr 2013 08:40:18 -0700 Subject: 31272: Avoid double free, get_compctl should not free its arguments. --- Src/Zle/compctl.c | 1 - 1 file changed, 1 deletion(-) (limited to 'Src/Zle') 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; } -- cgit 1.4.1