commit | 0aca293fedfd22d489297f7cbce6a7de86748151 | [log] [tgz] |
---|---|---|
author | Bram Moolenaar <Bram@vim.org> | Fri Jul 26 22:22:38 2019 +0200 |
committer | Bram Moolenaar <Bram@vim.org> | Fri Jul 26 22:22:38 2019 +0200 |
tree | cd459fb0e6497b66cc725b9e5a8bbb1d78dd84d5 | |
parent | 4f0d002cf9213812eca3a95560e8685018d601a7 [diff] [blame] |
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.
diff --git a/src/window.c b/src/window.c index 8466c46..3937fc5 100644 --- a/src/window.c +++ b/src/window.c
@@ -4865,6 +4865,7 @@ 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