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:
@@ -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
|
||||
}
|
||||
|
||||
/*
|
||||
|
Reference in New Issue
Block a user