summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog5
-rw-r--r--Doc/Zsh/mod_complist.yo2
-rw-r--r--Src/Zle/compcore.c1
3 files changed, 6 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 271c54888..f8caab70a 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,7 +1,10 @@
-2000-06-03 Bart Schaefer <schaefer@brasslantern.com>
+2000-06-03 Bart Schaefer <schaefer@zsh.org>
* 11736: Src/signals.c: Fix special scoping of TRAPEXIT.
+ * Felix: 11734: Src/Zle/compcore.c, Doc/Zsh/mod_complist.yo: Fix
+ one more memory leak and a doc mistake.
+
2000-06-02 Peter Stephenson <pws@cambridgesiliconradio.com>
* 11733: Doc/Makefile.in: Solaris sed was behaving strangely with
diff --git a/Doc/Zsh/mod_complist.yo b/Doc/Zsh/mod_complist.yo
index d75100247..bc62b58ca 100644
--- a/Doc/Zsh/mod_complist.yo
+++ b/Doc/Zsh/mod_complist.yo
@@ -144,7 +144,7 @@ lines, respectively. In each of these cases the form with the uppercase
letter will be replaced with a string of fixed width, padded to the
right with spaces, while the lowercase form will not be padded.
-If the option att(LISTPROMPT) is set, the completion code will not ask if
+If the parameter tt(LISTPROMPT) is set, the completion code will not ask if
the list should be shown. Instead it immediately starts displaying the
list, stopping after the first screenful, showing the prompt at the bottom,
waiting for a keypress after temporarily switching to the tt(listscroll)
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 {