about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog7
-rw-r--r--Src/Zle/compresult.c2
2 files changed, 8 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 20327e31e..dc310e88a 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2010-08-15  Peter Stephenson  <p.w.stephenson@ntlworld.com>
+
+	* 28167: Src/Zle/compresult.c: reset more variables when
+	invalidating completion list.
+
 2010-08-13  Peter Stephenson  <pws@csr.com>
 
 	* 28160 modified as per 28164: Src/Zle/zle_refresh.c: when the
@@ -13525,5 +13530,5 @@
 
 *****************************************************
 * This is used by the shell to define $ZSH_PATCHLEVEL
-* $Revision: 1.5056 $
+* $Revision: 1.5057 $
 *****************************************************
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;
 }