about summary refs log tree commit diff
path: root/Src/Zle
diff options
context:
space:
mode:
authorBart Schaefer <barts@users.sourceforge.net>2000-06-03 16:37:24 +0000
committerBart Schaefer <barts@users.sourceforge.net>2000-06-03 16:37:24 +0000
commit4c2601e7538414136f0e038ef4bb19c790c518b8 (patch)
tree3b5ae2223f6318981e91779fd1b2c514e356b38a /Src/Zle
parent709ce3829cb1c7bfeade8b18b39cd601b9e0decc (diff)
downloadzsh-4c2601e7538414136f0e038ef4bb19c790c518b8.tar.gz
zsh-4c2601e7538414136f0e038ef4bb19c790c518b8.tar.xz
zsh-4c2601e7538414136f0e038ef4bb19c790c518b8.zip
Felix, 11734: Memory leak and doc error.
Diffstat (limited to 'Src/Zle')
-rw-r--r--Src/Zle/compcore.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/Src/Zle/compcore.c b/Src/Zle/compcore.c
index df7e67e59..94f441229 100644
--- a/Src/Zle/compcore.c
+++ b/Src/Zle/compcore.c
@@ -733,6 +733,7 @@ callcompfunc(char *s, char *fn)
 	}
 	compinsert = (useline < 0 ? tricat("tab ", "", compinsert) :
 		      ztrdup(compinsert));
+	zsfree(compexact);
 	if (useexact)
 	    compexact = ztrdup("accept");
 	else {