mirror of
https://github.com/neovim/neovim.git
synced 2025-09-25 04:28:33 +00:00

Problem: memleak with ex_drop(), NULL dereference
(zeertzjq)
Solution: revert back to ex_rewind(), use curbuf instead of buf
fixes: vim/vim#14246
closes: vim/vim#14251
85a769d466
Co-authored-by: Christian Brabandt <cb@256bit.org>