diff options
-rw-r--r-- | ChangeLog | 2 | ||||
-rw-r--r-- | Src/Zle/computil.c | 3 |
2 files changed, 2 insertions, 3 deletions
diff --git a/ChangeLog b/ChangeLog index 25946fb6c..9a4a12b58 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,7 @@ 2008-09-23 Clint Adams <clint@zsh.org> + * 25737: Src/Zle/computil.c: remove dead code in ca_parse_line. + * 25736: Src/Zle/complete.c: one more zsfree missing from 25667. diff --git a/Src/Zle/computil.c b/Src/Zle/computil.c index 9af32c1fe..6c82d010e 100644 --- a/Src/Zle/computil.c +++ b/Src/Zle/computil.c @@ -1874,13 +1874,10 @@ ca_parse_line(Cadef d, int multi, int first) if (first && ca_alloced) { Castate s = &ca_laststate, ss; - int f = 1; while (s) { ss = s->snext; freecastate(s); - if (!f) - zfree(s, sizeof(*s)); s = ss; } } |