diff options
-rw-r--r-- | ChangeLog | 3 | ||||
-rw-r--r-- | Completion/Core/_history | 2 | ||||
-rw-r--r-- | Src/Zle/zle_tricky.c | 2 |
3 files changed, 6 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog index 09debbf7e..bead24fe3 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,8 @@ 2000-06-26 Sven Wischnowsky <wischnow@zsh.org> + * 12067: Completion/Core/_history, Src/Zle/zle_tricky.c: typo in + _history; missing free()s in zle_tricky.c + * 12066: Src/Zle/computil.c: missing allocation of list for option arguments diff --git a/Completion/Core/_history b/Completion/Core/_history index dafd61407..63878ac1c 100644 --- a/Completion/Core/_history +++ b/Completion/Core/_history @@ -57,4 +57,4 @@ while [[ $compstate[nmatches] -eq 0 && beg -lt max ]]; do (( beg+=slice )) done -(( $compstate[namtches] )) +(( $compstate[nmatches] )) diff --git a/Src/Zle/zle_tricky.c b/Src/Zle/zle_tricky.c index bc76ad4cd..a4095b1a2 100644 --- a/Src/Zle/zle_tricky.c +++ b/Src/Zle/zle_tricky.c @@ -604,6 +604,8 @@ docomplete(int lst) ll = strlen((char *) line); cs = ocs; unmetafy_line(); + zsfree(s); + zsfree(qword); return 1; } ocs = cs; |