Patch 8.2.1869
Problem: Vim9: memory leak when using add().
Solution: Free the added item.
Files: src/vim9execute.c
*** ../vim-8.2.1868/src/vim9execute.c 2020-10-19 20:45:32.376596657 +0200
--- src/vim9execute.c 2020-10-19 22:58:49.604302641 +0200
***************
*** 2308,2313 ****
--- 2308,2314 ----
}
if (list_append_tv(l, tv2) == FAIL)
goto failed;
+ clear_tv(tv2);
--ectx.ec_stack.ga_len;
}
break;
*** ../vim-8.2.1868/src/version.c 2020-10-19 21:45:03.747157645 +0200
--- src/version.c 2020-10-19 22:59:24.796169974 +0200
***************
*** 752,753 ****
--- 752,755 ----
{ /* Add new patch number below this line */
+ /**/
+ 1869,
/**/
--
I AM THANKFUL...
...for the piles of laundry and ironing because it means I
have plenty of clothes to wear.
/// Bram Moolenaar -- Br...@Moolenaar.net --
http://www.Moolenaar.net \\\
/// sponsor Vim, vote for features --
http://www.Vim.org/sponsor/ \\\
\\\ an exciting new programming language --
http://www.Zimbu.org ///
\\\ help me help AIDS victims --
http://ICCF-Holland.org ///