diff options
author | zeertzjq <zeertzjq@outlook.com> | 2022-04-12 11:32:48 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2022-04-12 11:32:48 +0100 |
commit | d58862d18f091d3c14fa3647e724ef7eea1ecefa (patch) | |
tree | 0f40cd55732b3a0f0f14ae4e935e5ed93b83b9d8 /src/gui.c | |
parent | 11a57dfd16a47f248fe949344bd5db3f12b9bd32 (diff) |
patch 8.2.4739: accessing freed memory after WinScrolled autocmd eventv8.2.4739
Problem: Accessing freed memory after WinScrolled autocmd event.
Solution: Check the window pointer is still valid. (closes #10156)
Remove the argument from may_trigger_winscrolled().
Diffstat (limited to 'src/gui.c')
-rw-r--r-- | src/gui.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -5238,7 +5238,7 @@ gui_update_screen(void) } if (!finish_op) - may_trigger_winscrolled(curwin); + may_trigger_winscrolled(); # ifdef FEAT_CONCEAL if (conceal_update_lines |