comparison src/window.c @ 17514:984cc7258468 v8.1.1755

patch 8.1.1755: leaking memory when using a popup window mask commit https://github.com/vim/vim/commit/0aca293fedfd22d489297f7cbce6a7de86748151 Author: Bram Moolenaar <Bram@vim.org> 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.
author Bram Moolenaar <Bram@vim.org>
date Fri, 26 Jul 2019 22:30:09 +0200
parents dfd87ef822aa
children 711db62c8aca
comparison
equal deleted inserted replaced
17513:b805db4bd1c0 17514:984cc7258468
4863 VIM_CLEAR(wp->w_border_highlight[i]); 4863 VIM_CLEAR(wp->w_border_highlight[i]);
4864 vim_free(wp->w_scrollbar_highlight); 4864 vim_free(wp->w_scrollbar_highlight);
4865 vim_free(wp->w_thumb_highlight); 4865 vim_free(wp->w_thumb_highlight);
4866 vim_free(wp->w_popup_title); 4866 vim_free(wp->w_popup_title);
4867 list_unref(wp->w_popup_mask); 4867 list_unref(wp->w_popup_mask);
4868 vim_free(wp->w_popup_mask_cells);
4868 #endif 4869 #endif
4869 4870
4870 #ifdef FEAT_SYN_HL 4871 #ifdef FEAT_SYN_HL
4871 vim_free(wp->w_p_cc_cols); 4872 vim_free(wp->w_p_cc_cols);
4872 #endif 4873 #endif