about summary refs log tree commit diff
path: root/Src
diff options
context:
space:
mode:
authorClint Adams <clint@users.sourceforge.net>2008-11-11 19:36:34 +0000
committerClint Adams <clint@users.sourceforge.net>2008-11-11 19:36:34 +0000
commit4b39a04c14c34db7e5f6f81a86f049d2411fdaf1 (patch)
treebbf82ccef230f0b0c1cd2dceb2121a9dd2b5b73e /Src
parenta1958f3c41d4c135173f282a99b9fbe1d0150fad (diff)
downloadzsh-4b39a04c14c34db7e5f6f81a86f049d2411fdaf1.tar.gz
zsh-4b39a04c14c34db7e5f6f81a86f049d2411fdaf1.tar.xz
zsh-4b39a04c14c34db7e5f6f81a86f049d2411fdaf1.zip
26027: free pprogc before it goes out of scope in makecomplistflags.
Diffstat (limited to 'Src')
-rw-r--r--Src/Zle/compctl.c1
1 files changed, 1 insertions, 0 deletions
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)))