0
0
mirror of https://github.com/vim/vim.git synced 2025-09-25 03:54:15 -04:00

patch 8.2.2712: memory leak when adding to a blob fails

Problem:    Memory leak when adding to a blob fails.
Solution:   Clear the second typval before returning.
This commit is contained in:
Bram Moolenaar
2021-04-04 21:55:23 +02:00
parent 3c49e74e18
commit f2dd9cb995
2 changed files with 7 additions and 3 deletions

View File

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