mirror of
https://github.com/neovim/neovim.git
synced 2026-01-09 04:47:38 +10:00
Problem: error set by win_set_buf may leak if autocommands immediately close the new window. Solution: free the error set by win_set_buf. (prefer nvim_open_win's error as it's more important and will cause 0 to be returned)