mirror of
https://github.com/neovim/neovim.git
synced 2026-02-21 09:50:19 +10:00
Problem: Last buffer not freed with EXITFREE (after 9.1.2087).
Solution: Free the last buffer when inside free_all_mem()
(zeertzjq).
This isn't really a memory leak, as the last buffer's memory is still
reachable via pointers like firstbuf and lastbuf. But it's possible that
this may cause false ASAN warnings in the future, which is what EXITFREE
is supposed to prevent.
closes: vim/vim#19194
6c118afeaa
(cherry picked from commit 960cba7b3b)
128 KiB
128 KiB