# HG changeset patch # User Bram Moolenaar # Date 1564173009 -7200 # Node ID 984cc725846835ed5342ecfd7d973f30af5def43 # Parent b805db4bd1c0fc32ef281998c1ff0ed1d88bb633 patch 8.1.1755: leaking memory when using a popup window mask commit https://github.com/vim/vim/commit/0aca293fedfd22d489297f7cbce6a7de86748151 Author: Bram Moolenaar Date: Fri Jul 26 22:22:38 2019 +0200 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/version.c b/src/version.c --- a/src/version.c +++ b/src/version.c @@ -778,6 +778,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 1755, +/**/ 1754, /**/ 1753, diff --git a/src/window.c b/src/window.c --- a/src/window.c +++ b/src/window.c @@ -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