1
0
forked from aniani/vim

patch 8.2.3822: leaking memory in map() and filter(), no string in Vim9

Problem:    Leaking memory in map() and filter(), cannot use a string argument
            in Vim9 script.
Solution:   Fix the leak, adjust the argument check, also run the tests as
            Vim9 script. (Yegappan Lakshmanan, closes #9354)
This commit is contained in:
Bram Moolenaar
2021-12-16 08:21:09 +00:00
parent 19569ca6d8
commit 2d877599ee
8 changed files with 127 additions and 61 deletions

View File

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