forked from aniani/vim
patch 8.1.1755: leaking memory when using a popup window mask
Problem: Leaking memory when using a popup window mask. Solution: Free the cached mask.
This commit is contained in:
@@ -777,6 +777,8 @@ static char *(features[]) =
|
||||
|
||||
static int included_patches[] =
|
||||
{ /* Add new patch number below this line */
|
||||
/**/
|
||||
1755,
|
||||
/**/
|
||||
1754,
|
||||
/**/
|
||||
|
@@ -4865,6 +4865,7 @@ win_free(
|
||||
vim_free(wp->w_thumb_highlight);
|
||||
vim_free(wp->w_popup_title);
|
||||
list_unref(wp->w_popup_mask);
|
||||
vim_free(wp->w_popup_mask_cells);
|
||||
#endif
|
||||
|
||||
#ifdef FEAT_SYN_HL
|
||||
|
Reference in New Issue
Block a user