forked from aniani/vim
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;
|
||||
|
Reference in New Issue
Block a user