about summary refs log tree commit diff
path: root/Src/Zle/compctl.c
diff options
context:
space:
mode:
authorSven Wischnowsky <wischnow@users.sourceforge.net>2001-01-18 14:41:40 +0000
committerSven Wischnowsky <wischnow@users.sourceforge.net>2001-01-18 14:41:40 +0000
commitc06782d95b95f6802da6059378e5ad83a1d57ddd (patch)
tree9cbd570a56a8fcc1aaab0755302c2ba519125548 /Src/Zle/compctl.c
parent0acd646e94fbac27ba99bbfdb775f137e39582b9 (diff)
downloadzsh-c06782d95b95f6802da6059378e5ad83a1d57ddd.tar.gz
zsh-c06782d95b95f6802da6059378e5ad83a1d57ddd.tar.xz
zsh-c06782d95b95f6802da6059378e5ad83a1d57ddd.zip
*** empty log message ***
Diffstat (limited to 'Src/Zle/compctl.c')
-rw-r--r--Src/Zle/compctl.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/Src/Zle/compctl.c b/Src/Zle/compctl.c
index 019e774ac..44bf73700 100644
--- a/Src/Zle/compctl.c
+++ b/Src/Zle/compctl.c
@@ -1848,7 +1848,7 @@ ccmakehookfn(Hookdef dummy, struct ccmakedat *dat)
 	    amatches = lastmatches;
 	    lmatches = lastlmatches;
 	    if (pmatches) {
-		freematches(pmatches);
+		freematches(pmatches, 1);
 		pmatches = NULL;
 		hasperm = 0;
 	    }
@@ -1858,7 +1858,7 @@ ccmakehookfn(Hookdef dummy, struct ccmakedat *dat)
 	    return 0;
 	}
 	if (lastmatches) {
-	    freematches(lastmatches);
+	    freematches(lastmatches, 1);
 	    lastmatches = NULL;
 	}
 	permmatches(1);