Patch 8.2.2907
Problem: Memory leak when running out of memory.
Solution: Free the allocated memory. (Dominique Pellé, closes #8284)
Files: src/term.c
*** ../vim-8.2.2906/src/term.c 2021-04-11 13:29:13.194824346 +0200
--- src/term.c 2021-05-29 22:31:25.302771603 +0200
***************
*** 4248,4253 ****
--- 4248,4254 ----
if (new_tc == NULL)
{
tc_max_len -= 20;
+ vim_free(s);
return;
}
for (i = 0; i < tc_len; ++i)
*** ../vim-8.2.2906/src/version.c 2021-05-29 22:25:13.539781642 +0200
--- src/version.c 2021-05-29 22:33:17.150473144 +0200
***************
*** 752,753 ****
--- 752,755 ----
{ /* Add new patch number below this line */
+ /**/
+ 2907,
/**/
--
TALL KNIGHT: We are now no longer the Knights Who Say Ni!
ONE KNIGHT: Ni!
OTHERS: Sh!
ONE KNIGHT: (whispers) Sorry.
"Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD
/// 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/202105292034.14TKYsMw1615709%40masaka.moolenaar.net.