To: vim_dev@googlegroups.com Subject: Patch 8.2.2835 Fcc: outbox From: Bram Moolenaar Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ------------ Patch 8.2.2835 (after 8.2.2834) Problem: Vim9: leaking memory in :cexpr. Solution: Also free the command line copy. Files: src/vim9compile.c *** ../vim-8.2.2834/src/vim9compile.c 2021-05-05 21:31:36.068018579 +0200 --- src/vim9compile.c 2021-05-05 22:39:26.004648821 +0200 *************** *** 9641,9646 **** --- 9641,9647 ---- break; case ISN_CEXPR_CORE: + vim_free(isn->isn_arg.cexpr.cexpr_ref->cer_cmdline); vim_free(isn->isn_arg.cexpr.cexpr_ref); break; *** ../vim-8.2.2834/src/version.c 2021-05-05 21:31:36.072018558 +0200 --- src/version.c 2021-05-05 22:40:37.620550773 +0200 *************** *** 752,753 **** --- 752,755 ---- { /* Add new patch number below this line */ + /**/ + 2835, /**/ -- hundred-and-one symptoms of being an internet addict: 233. You start dreaming about web pages...in html. /// 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 ///