0
0
mirror of https://github.com/vim/vim.git synced 2025-09-23 03:43:49 -04:00

patch 8.2.1669: Vim9: memory leak when storing a value fails

Problem:    Vim9: memory leak when storing a value fails.
Solution:   Free the value when not storing it.
This commit is contained in:
Bram Moolenaar
2020-09-12 19:51:42 +02:00
parent dadaddd59f
commit b0fa5e17c5
2 changed files with 20 additions and 14 deletions

View File

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