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 -- [email protected] -- 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 ///
--
--
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
---
You received this message because you are subscribed to the Google Groups
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/vim_dev/202010192102.09JL2JDn1244593%40masaka.moolenaar.net.