Functions is_duplicate_variable() and is_duplicate_enum call vim_strnsave() but do not check if the call was successful.
Fix this by refactoring both functions to avoid the need to call vim_strnsave().
Cheers
John
https://github.com/vim/vim/pull/18947
(1 file)
—
Reply to this email directly, view it on GitHub.
You are receiving this because you are subscribed to this thread.![]()