[vim/vim] Last buffer not freed with EXITFREE (PR #19194)

1 view
Skip to first unread message

zeertzjq

unread,
5:49 PM (6 hours ago) 5:49 PM
to vim/vim, Subscribed

Problem: Last buffer not freed with EXITFREE (after 9.1.2087).
Solution: Free the last buffer when inside free_all_mem().

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.


You can view, comment on, or merge this pull request online at:

  https://github.com/vim/vim/pull/19194

Commit Summary

  • 12f04b1 Last buffer not freed with EXITFREE

File Changes

(1 file)

Patch Links:


Reply to this email directly, view it on GitHub.
You are receiving this because you are subscribed to this thread.Message ID: <vim/vim/pull/19194@github.com>

zeertzjq

unread,
5:50 PM (6 hours ago) 5:50 PM
to vim/vim, Push

@zeertzjq pushed 1 commit.

  • ae3b11f Last buffer not freed with EXITFREE


View it on GitHub or unsubscribe.
You are receiving this because you are subscribed to this thread.Message ID: <vim/vim/pull/19194/before/12f04b1756db513a4114ea0001b8f1f3d6890eab/after/ae3b11ffa1eda87993902bf92ed9eb29c0e8e489@github.com>

Reply all
Reply to author
Forward
0 new messages