From a15007fe649d748783a166c3a016f2c2cb220b3f Mon Sep 17 00:00:00 2001 From: Peter Stephenson Date: Sun, 15 Aug 2010 18:40:04 +0000 Subject: 28167: reset more variables on invalidating completion list --- Src/Zle/compresult.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'Src/Zle') diff --git a/Src/Zle/compresult.c b/Src/Zle/compresult.c index 43733b0c6..bdfcfd739 100644 --- a/Src/Zle/compresult.c +++ b/Src/Zle/compresult.c @@ -2284,6 +2284,8 @@ invalidate_list(void) zsfree(minfo.postbr); minfo.postbr = minfo.prebr = NULL; compwidget = NULL; + nmatches = 0; + amatches = NULL; return 0; } -- cgit 1.4.1