Patch 8.2.2835 (after 8.2.2834)
Problem: Vim9: leaking memory in :cexpr.
Solution: Also free the command line copy.
Files: src/vim9compile.c
*** ../vim-8.2.2834/src/vim9compile.c 2021-05-05 21:31:36.068018579 +0200
--- src/vim9compile.c 2021-05-05 22:39:26.004648821 +0200
***************
*** 9641,9646 ****
--- 9641,9647 ----
break;
case ISN_CEXPR_CORE:
+ vim_free(isn->isn_arg.cexpr.cexpr_ref->cer_cmdline);
vim_free(isn->isn_arg.cexpr.cexpr_ref);
break;
*** ../vim-8.2.2834/src/version.c 2021-05-05 21:31:36.072018558 +0200
--- src/version.c 2021-05-05 22:40:37.620550773 +0200
***************
*** 752,753 ****
--- 752,755 ----
{ /* Add new patch number below this line */
+ /**/
+ 2835,
/**/
--
hundred-and-one symptoms of being an internet addict:
233. You start dreaming about web pages...in html.
/// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net \\\
/// \\\
\\\ sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ ///
\\\ 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/202105052041.145Kfax7899052%40masaka.moolenaar.net.