mirror of
https://github.com/vim/vim.git
synced 2025-09-26 04:04:07 -04:00
patch 7.4.1866
Problem: Invalid memory access when exiting with EXITFREE defined. (Dominique Pelle) Solution: Set "really_exiting" and skip error messages.
This commit is contained in:
@@ -1044,6 +1044,9 @@ free_all_mem(void)
|
||||
return;
|
||||
entered = TRUE;
|
||||
|
||||
/* Set this flag to indicate some errors can be ignored. */
|
||||
really_exiting = TRUE;
|
||||
|
||||
# ifdef FEAT_AUTOCMD
|
||||
/* Don't want to trigger autocommands from here on. */
|
||||
block_autocmds();
|
||||
|
Reference in New Issue
Block a user