From 4b39a04c14c34db7e5f6f81a86f049d2411fdaf1 Mon Sep 17 00:00:00 2001 From: Clint Adams Date: Tue, 11 Nov 2008 19:36:34 +0000 Subject: 26027: free pprogc before it goes out of scope in makecomplistflags. --- Src/Zle/compctl.c | 1 + 1 file changed, 1 insertion(+) (limited to 'Src') 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))) -- cgit 1.4.1