To: vim_dev@googlegroups.com Subject: Patch 9.0.1109 Fcc: outbox From: Bram Moolenaar Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ------------ 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 -- Bram@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 ///