To: vim_dev@googlegroups.com Subject: Patch 8.2.0883 Fcc: outbox From: Bram Moolenaar Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ------------ Patch 8.2.0883 Problem: Memory leak in test 49. Solution: Free "sfile" from the exception. Files: src/ex_docmd.c *** ../vim-8.2.0882/src/ex_docmd.c 2020-06-01 16:26:15.338852818 +0200 --- src/ex_docmd.c 2020-06-01 21:06:24.409330444 +0200 *************** *** 1278,1283 **** --- 1278,1284 ---- next = messages->next; emsg(messages->msg); vim_free(messages->msg); + vim_free(messages->sfile); vim_free(messages); messages = next; } *** ../vim-8.2.0882/src/version.c 2020-06-01 20:10:58.599728763 +0200 --- src/version.c 2020-06-01 21:07:36.909090126 +0200 *************** *** 748,749 **** --- 748,751 ---- { /* Add new patch number below this line */ + /**/ + 883, /**/ -- hundred-and-one symptoms of being an internet addict: 249. You've forgotten what the outside looks like. /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\ /// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\ \\\ an exciting new programming language -- http://www.Zimbu.org /// \\\ help me help AIDS victims -- http://ICCF-Holland.org ///