Patch 8.2.2220
Problem: Vim9: memory leak when parsing nested parenthesis.
Solution: Clear newargs.
Files: src/userfunc.c
*** ../vim-8.2.2219/src/userfunc.c 2020-12-25 16:11:50.096319934 +0100
--- src/userfunc.c 2020-12-25 22:29:14.648334685 +0100
***************
*** 574,579 ****
--- 574,580 ----
{
if (types_optional)
ga_clear_strings(&argtypes);
+ ga_clear_strings(&newargs);
return white_error ? FAIL : NOTDONE;
}
*arg = s;
*** ../vim-8.2.2219/src/version.c 2020-12-25 21:56:53.412944936 +0100
--- src/version.c 2020-12-25 22:28:01.428642771 +0100
***************
*** 752,753 ****
--- 752,755 ----
{ /* Add new patch number below this line */
+ /**/
+ 2220,
/**/
--
How To Keep A Healthy Level Of Insanity:
15. Five days in advance, tell your friends you can't attend their
party because you're not in the mood.
/// 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/202012252130.0BPLUtFk3664972%40masaka.moolenaar.net.