To: vim_dev@googlegroups.com Subject: Patch 8.2.1221 Fcc: outbox From: Bram Moolenaar Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ------------ Patch 8.2.1221 Problem: Memory leak when updating popup window. Solution: Clear search highlighting. Files: src/popupwin.c *** ../vim-8.2.1220/src/popupwin.c 2020-07-12 20:44:33.909196163 +0200 --- src/popupwin.c 2020-07-15 16:27:21.519502074 +0200 *************** *** 3855,3860 **** --- 3855,3865 ---- // Back to the normal zindex. screen_zindex = 0; } + + #if defined(FEAT_SEARCH_EXTRA) + // In case win_update() called start_search_hl(). + end_search_hl(); + #endif } /* *** ../vim-8.2.1220/src/version.c 2020-07-15 17:37:59.053523797 +0200 --- src/version.c 2020-07-15 18:26:41.236796246 +0200 *************** *** 756,757 **** --- 756,759 ---- { /* Add new patch number below this line */ + /**/ + 1221, /**/ -- I am also told that there is a logical proof out there somewhere that demonstrates that there is no task which duct tape cannot handle. -- Paul Brannan /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\ /// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\ \\\ an exciting new programming language -- http://www.Zimbu.org /// \\\ help me help AIDS victims -- http://ICCF-Holland.org ///