Patch 8.2.0472
Problem: Terminal highlight name is set twice, leaking memory.
Solution: Delete one.
Files: src/terminal.c
*** ../vim-8.2.0471/src/terminal.c 2020-03-26 20:33:20.995063766 +0100
--- src/terminal.c 2020-03-28 22:34:39.941772950 +0100
***************
*** 6925,6932 ****
jobopt_T *orig_opt UNUSED)
{
term->tl_arg0_cmd = NULL;
- if (opt->jo_set2 & JO2_TERM_HIGHLIGHT)
- term->tl_highlight_name = vim_strsave(opt->jo_term_highlight);
if (create_vterm(term, term->tl_rows, term->tl_cols) == FAIL)
return FAIL;
--- 6925,6930 ----
*** ../vim-8.2.0471/src/version.c 2020-03-28 22:06:07.587491239 +0100
--- src/version.c 2020-03-28 22:35:17.485649092 +0100
***************
*** 740,741 ****
--- 740,743 ----
{ /* Add new patch number below this line */
+ /**/
+ 472,
/**/
--
Mental Floss prevents moral decay!
/// 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/202003282137.02SLbgTF031335%40masaka.moolenaar.net.