1
0
forked from aniani/vim

patch 8.2.4652: leaking memory if assignment fails

Problem:    Leaking memory if assignment fails.
Solution:   Clear assigned value on failure.
This commit is contained in:
Bram Moolenaar
2022-03-31 10:13:47 +01:00
parent 1712518f48
commit d1d2684c80
2 changed files with 4 additions and 0 deletions

View File

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