diff options
| author | Sean Dewar <6256228+seandewar@users.noreply.github.com> | 2025-12-17 17:57:30 +0000 |
|---|---|---|
| committer | Sean Dewar <6256228+seandewar@users.noreply.github.com> | 2025-12-21 15:35:30 +0000 |
| commit | a2b97209395e4ecdec5d7df4f74be067f655a158 (patch) | |
| tree | 8ced0dd3951f32edd3d6c52487e474a3a96c6808 /runtime/lua/vim/_core/stringbuffer.lua | |
| parent | d788864cdea705a981aa90ec0625516466c04bec (diff) | |
fix(api): open_win leak from naughty autocommands
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)
Diffstat (limited to 'runtime/lua/vim/_core/stringbuffer.lua')
0 files changed, 0 insertions, 0 deletions
