mirror of
https://github.com/vim/vim.git
synced 2025-09-25 03:54:15 -04:00
patch 7.4.2348
Problem: Crash on exit when EXITFREE is defined. (Dominique Pelle) Solution: Don't access curwin when exiting.
This commit is contained in:
@@ -580,7 +580,11 @@ aucmd_abort:
|
||||
|
||||
/* When closing the current buffer stop Visual mode before freeing
|
||||
* anything. */
|
||||
if (buf == curbuf)
|
||||
if (buf == curbuf
|
||||
#if defined(EXITFREE)
|
||||
&& !entered_free_all_mem
|
||||
#endif
|
||||
)
|
||||
end_visual_mode();
|
||||
|
||||
/*
|
||||
|
Reference in New Issue
Block a user