mirror of
https://github.com/vim/vim.git
synced 2025-09-23 03:43:49 -04:00
patch 8.2.2220: Vim9: memory leak when parsing nested parenthesis
Problem: Vim9: memory leak when parsing nested parenthesis. Solution: Clear newargs.
This commit is contained in:
@@ -574,6 +574,7 @@ get_lambda_tv(
|
||||
{
|
||||
if (types_optional)
|
||||
ga_clear_strings(&argtypes);
|
||||
ga_clear_strings(&newargs);
|
||||
return white_error ? FAIL : NOTDONE;
|
||||
}
|
||||
*arg = s;
|
||||
|
@@ -750,6 +750,8 @@ static char *(features[]) =
|
||||
|
||||
static int included_patches[] =
|
||||
{ /* Add new patch number below this line */
|
||||
/**/
|
||||
2220,
|
||||
/**/
|
||||
2219,
|
||||
/**/
|
||||
|
Reference in New Issue
Block a user