diff options
author | Sean Dewar <6256228+seandewar@users.noreply.github.com> | 2024-03-19 10:55:33 +0000 |
---|---|---|
committer | Sean Dewar <6256228+seandewar@users.noreply.github.com> | 2024-03-19 15:43:08 +0000 |
commit | d5c23d72a5e4d2abb0903e58c4953fa0303d4ad6 (patch) | |
tree | d12a2bbdb9d0b046f424141ba611280569b04ef5 /src/nvim/diff.c | |
parent | aca2048bcd57937ea1c7b7f0325f25d5b82588db (diff) | |
download | rneovim-d5c23d72a5e4d2abb0903e58c4953fa0303d4ad6.tar.gz rneovim-d5c23d72a5e4d2abb0903e58c4953fa0303d4ad6.tar.bz2 rneovim-d5c23d72a5e4d2abb0903e58c4953fa0303d4ad6.zip |
fix(api): nvim_create_buf leaks memory if buffer is loaded early
Problem: memory leak in nvim_create_buf if buflist_new autocommands load the
new buffer early.
Solution: do not open a memfile in that case.
Diffstat (limited to 'src/nvim/diff.c')
0 files changed, 0 insertions, 0 deletions