0
0
mirror of https://github.com/vim/vim.git synced 2025-09-29 04:34:16 -04:00

patch 8.2.0697: Vim9: memory leak when using nested function

Problem:    Vim9: memory leak when using nested function.
Solution:   Unreference function when deleting instructions. Adjust reference
            count for local variables.
This commit is contained in:
Bram Moolenaar
2020-05-05 19:46:20 +02:00
parent 0e65d3de0a
commit 221fcc741a
3 changed files with 30 additions and 4 deletions

View File

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