0
0
mirror of https://github.com/vim/vim.git synced 2025-09-23 03:43:49 -04:00

patch 8.2.1221: memory leak when updating popup window

Problem:    Memory leak when updating popup window.
Solution:   Clear search highlighting.
This commit is contained in:
Bram Moolenaar
2020-07-15 18:27:08 +02:00
parent 452143c6bf
commit 02f9e6a60f
2 changed files with 7 additions and 0 deletions

View File

@@ -3855,6 +3855,11 @@ update_popups(void (*win_update)(win_T *wp))
// Back to the normal zindex.
screen_zindex = 0;
}
#if defined(FEAT_SEARCH_EXTRA)
// In case win_update() called start_search_hl().
end_search_hl();
#endif
}
/*