0
0
mirror of https://github.com/vim/vim.git synced 2025-10-17 07:44:28 -04:00

patch 8.2.2748: Vim9: memory leak when calling :def function fails

Problem:    Vim9: memory leak when calling :def function fails.
Solution:   Jump to failed_early instead of returning.
This commit is contained in:
Bram Moolenaar
2021-04-10 20:46:48 +02:00
parent bb8a7ce0a1
commit c429769776
2 changed files with 3 additions and 1 deletions

View File

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