Patch 9.0.1109

4 views
Skip to first unread message

Bram Moolenaar

unread,
Dec 30, 2022, 5:37:12 AM12/30/22
to vim...@googlegroups.com

Patch 9.0.1109 (after 9.0.1108)
Problem: Leaking allocated type.
Solution: Reset the "static" flag in the allocated type copy.
Files: src/vim9instr.c


*** ../vim-9.0.1108/src/vim9instr.c 2022-12-29 20:56:20.021538298 +0000
--- src/vim9instr.c 2022-12-30 10:33:51.078117063 +0000
***************
*** 594,599 ****
--- 594,600 ----
if (tt != NULL)
{
*tt = *expected;
+ tt->tt_flags &= ~TTFLAG_STATIC;
tt->tt_flags |= TTFLAG_NUMBER_OK;
}
}
*** ../vim-9.0.1108/src/version.c 2022-12-29 20:56:20.025538293 +0000
--- src/version.c 2022-12-30 10:32:57.010200986 +0000
***************
*** 697,698 ****
--- 697,700 ----
{ /* Add new patch number below this line */
+ /**/
+ 1109,
/**/

--
BRIDGEKEEPER: What is your favorite editor?
GAWAIN: Emacs ... No, Viiiiiiiiiiimmmmmmm!
"Monty Python and the Holy editor wars" PYTHON (MONTY) SOFTWARE LTD

/// Bram Moolenaar -- Br...@Moolenaar.net -- http://www.Moolenaar.net \\\
/// \\\
\\\ sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ ///
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
Reply all
Reply to author
Forward
0 new messages