Patch 8.2.0681
Problem: Pattern for 'hlsearch' highlighting may leak. (Dominique Pelle)
Solution: Call end_search_hl() to make sure the previous pattern is freed.
(closes #6028)
Files: src/screen.c
*** ../vim-8.2.0680/src/screen.c 2020-04-30 20:59:54.080610231 +0200
--- src/screen.c 2020-05-02 18:31:50.872209800 +0200
***************
*** 1718,1723 ****
--- 1718,1724 ----
{
if (p_hls && !no_hlsearch)
{
+ end_search_hl(); // just in case it wasn't called before
last_pat_prog(&screen_search_hl.rm);
screen_search_hl.attr = HL_ATTR(HLF_L);
# ifdef FEAT_RELTIME
*** ../vim-8.2.0680/src/version.c 2020-05-02 18:14:33.920146062 +0200
--- src/version.c 2020-05-02 18:32:49.855986907 +0200
***************
*** 748,749 ****
--- 748,751 ----
{ /* Add new patch number below this line */
+ /**/
+ 681,
/**/
--
Portable Computer: A device invented to force businessmen
to work at home, on vacation, and on business trips.
/// Bram Moolenaar -- [email protected] -- 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 ///
--
--
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
---
You received this message because you are subscribed to the Google Groups
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/vim_dev/202005021634.042GYGmY017966%40masaka.moolenaar.net.