0
0
mirror of https://github.com/vim/vim.git synced 2025-09-26 04:04:07 -04:00

patch 8.1.0066: nasty autocommand causes using freed memory

Problem:    Nasty autocommand causes using freed memory. (Dominique Pelle)
Solution:   Do not force executing autocommands if the value of 'syntax' or
            'filetype' did not change.
This commit is contained in:
Bram Moolenaar
2018-06-17 17:32:58 +02:00
parent 0e6e179f55
commit c3ffc9b8d3
2 changed files with 14 additions and 6 deletions

View File

@@ -761,6 +761,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
66,
/**/
65,
/**/