about summary refs log tree commit diff
path: root/Src
diff options
context:
space:
mode:
authorPeter Stephenson <pws@users.sourceforge.net>2010-08-15 18:40:04 +0000
committerPeter Stephenson <pws@users.sourceforge.net>2010-08-15 18:40:04 +0000
commita15007fe649d748783a166c3a016f2c2cb220b3f (patch)
tree6f00768b2ee1166bda6257db3ade31b8e28470ec /Src
parent8e5061d0c63f1e0b3c71b212fdc380ba0a347a58 (diff)
downloadzsh-a15007fe649d748783a166c3a016f2c2cb220b3f.tar.gz
zsh-a15007fe649d748783a166c3a016f2c2cb220b3f.tar.xz
zsh-a15007fe649d748783a166c3a016f2c2cb220b3f.zip
28167: reset more variables on invalidating completion list
Diffstat (limited to 'Src')
-rw-r--r--Src/Zle/compresult.c2
1 files changed, 2 insertions, 0 deletions
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;
 }