mirror of
https://github.com/neovim/neovim.git
synced 2026-06-17 01:01:16 +00:00
Problem: Memory leak when pressing Ctrl-D in cmdline mode
(after 9.1.1571).
Solution: Free prev_cmdbuff before assigning to it.
(zeertzjq).
Existing tests already cover this. This change fixes the CI failure.
closes: vim/vim#17807
c02bef26fd