1
0
forked from aniani/vim

patch 8.2.3951: Vim9: memory leak when text after a nested function

Problem:    Vim9: memory leak when text after a nested function.
Solution:   Free the function if text is found after "enddef".
This commit is contained in:
Bram Moolenaar
2021-12-30 17:09:05 +00:00
parent 94f3192b03
commit d293981d2b
3 changed files with 17 additions and 3 deletions

View File

@@ -749,6 +749,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
3951,
/**/
3950,
/**/