Skip to content
Snippets Groups Projects
Unverified Commit d5c23d72 authored by Sean Dewar's avatar Sean Dewar
Browse files

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.
parent aca2048b
Branches
Tags
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment