Commit f1d1347
committed
patch 8.0.0707: freeing wrong memory with certain autocommands
Problem: Freeing wrong memory when manipulating buffers in autocommands.
(James McCoy)
Solution: Also set the w_s pointer if w_buffer was NULL.1 parent 5a15b6a commit f1d1347
2 files changed
Lines changed: 4 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3968 | 3968 | | |
3969 | 3969 | | |
3970 | 3970 | | |
3971 | | - | |
3972 | | - | |
| 3971 | + | |
| 3972 | + | |
3973 | 3973 | | |
3974 | 3974 | | |
3975 | 3975 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
764 | 764 | | |
765 | 765 | | |
766 | 766 | | |
| 767 | + | |
| 768 | + | |
767 | 769 | | |
768 | 770 | | |
769 | 771 | | |
| |||
0 commit comments