1
0
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:
Bram Moolenaar
2019-07-26 22:22:38 +02:00
parent 4f0d002cf9
commit 0aca293fed
2 changed files with 3 additions and 0 deletions

View File

@@ -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