mirror of
https://github.com/vim/vim.git
synced 2025-09-23 03:43:49 -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();
|
||||
|
||||
/*
|
||||
|
@@ -763,6 +763,8 @@ static char *(features[]) =
|
||||
|
||||
static int included_patches[] =
|
||||
{ /* Add new patch number below this line */
|
||||
/**/
|
||||
2348,
|
||||
/**/
|
||||
2347,
|
||||
/**/
|
||||
|
Reference in New Issue
Block a user