about summary refs log tree commit diff
path: root/Src
diff options
context:
space:
mode:
Diffstat (limited to 'Src')
-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 {