Commit c3ffc9b
committed
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.1 parent 0e6e179 commit c3ffc9b
2 files changed
Lines changed: 14 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6029 | 6029 | | |
6030 | 6030 | | |
6031 | 6031 | | |
6032 | | - | |
| 6032 | + | |
6033 | 6033 | | |
6034 | 6034 | | |
6035 | 6035 | | |
| |||
7437 | 7437 | | |
7438 | 7438 | | |
7439 | 7439 | | |
7440 | | - | |
| 7440 | + | |
7441 | 7441 | | |
7442 | 7442 | | |
7443 | 7443 | | |
7444 | 7444 | | |
7445 | 7445 | | |
7446 | 7446 | | |
7447 | 7447 | | |
| 7448 | + | |
| 7449 | + | |
7448 | 7450 | | |
7449 | 7451 | | |
7450 | 7452 | | |
| |||
7565 | 7567 | | |
7566 | 7568 | | |
7567 | 7569 | | |
| 7570 | + | |
| 7571 | + | |
7568 | 7572 | | |
7569 | | - | |
| 7573 | + | |
7570 | 7574 | | |
7571 | 7575 | | |
7572 | 7576 | | |
7573 | 7577 | | |
7574 | 7578 | | |
7575 | 7579 | | |
7576 | | - | |
7577 | | - | |
| 7580 | + | |
| 7581 | + | |
| 7582 | + | |
| 7583 | + | |
7578 | 7584 | | |
7579 | 7585 | | |
7580 | 7586 | | |
7581 | | - | |
| 7587 | + | |
7582 | 7588 | | |
7583 | 7589 | | |
7584 | 7590 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
761 | 761 | | |
762 | 762 | | |
763 | 763 | | |
| 764 | + | |
| 765 | + | |
764 | 766 | | |
765 | 767 | | |
766 | 768 | | |
| |||
0 commit comments