Patch 9.0.0556 (after 9.0.0554)
Problem: Leaking memory with nested functions.
Solution: Free saved pointer.
Files: src/eval.c
*** ../vim-9.0.0555/src/eval.c 2022-09-23 12:44:19.795794418 +0100
--- src/eval.c 2022-09-23 13:24:37.293760435 +0100
***************
*** 400,405 ****
--- 400,406 ----
// need to keep it around.
--etga->ga_len;
*eap->cmdlinep = ((char_u **)etga->ga_data)[etga->ga_len];
+ vim_free(evalarg->eval_tofree);
}
else
*eap->cmdlinep = evalarg->eval_tofree;
*** ../vim-9.0.0555/src/version.c 2022-09-23 12:56:49.309714862 +0100
--- src/version.c 2022-09-23 13:27:42.262643100 +0100
***************
*** 701,702 ****
--- 701,704 ----
{ /* Add new patch number below this line */
+ /**/
+ 556,
/**/
--
hundred-and-one symptoms of being an internet addict:
140. You'd rather catch a score on the web than watch the game as
it is being played on tv.
/// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net \\\
/// \\\
\\\ sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ ///
\\\ 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/20220923122826.6BFB11C063B%40moolenaar.net.