mirror of
https://github.com/vim/vim.git
synced 2025-07-26 11:04:33 -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:
parent
452143c6bf
commit
02f9e6a60f
@ -3855,6 +3855,11 @@ update_popups(void (*win_update)(win_T *wp))
|
|||||||
// Back to the normal zindex.
|
// Back to the normal zindex.
|
||||||
screen_zindex = 0;
|
screen_zindex = 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#if defined(FEAT_SEARCH_EXTRA)
|
||||||
|
// In case win_update() called start_search_hl().
|
||||||
|
end_search_hl();
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
@ -754,6 +754,8 @@ static char *(features[]) =
|
|||||||
|
|
||||||
static int included_patches[] =
|
static int included_patches[] =
|
||||||
{ /* Add new patch number below this line */
|
{ /* Add new patch number below this line */
|
||||||
|
/**/
|
||||||
|
1221,
|
||||||
/**/
|
/**/
|
||||||
1220,
|
1220,
|
||||||
/**/
|
/**/
|
||||||
|
Loading…
x
Reference in New Issue
Block a user