1
0
forked from aniani/vim

patch 8.2.2764: memory leak when default function argument is allocated

Problem:    Memory leak when default function argument is allocated.
Solution:   Free the expression result.
This commit is contained in:
Bram Moolenaar
2021-04-14 17:06:43 +02:00
parent a3589a0d6c
commit b47bed2f7a
3 changed files with 20 additions and 0 deletions

View File

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