To: vim_dev@googlegroups.com Subject: Patch 7.4.1596 Fcc: outbox From: Bram Moolenaar Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ------------ Patch 7.4.1596 Problem: Memory leak. (Coverity) Solution: Free the pattern. Files: src/ex_cmds2.c *** ../vim-7.4.1595/src/ex_cmds2.c 2016-03-17 21:50:57.263635136 +0100 --- src/ex_cmds2.c 2016-03-19 14:15:25.124417183 +0100 *************** *** 3404,3409 **** --- 3404,3410 ---- vim_free(cmd); } #endif + vim_free(pat); } theend: *** ../vim-7.4.1595/src/version.c 2016-03-19 14:12:44.962091710 +0100 --- src/version.c 2016-03-19 14:15:53.408121492 +0100 *************** *** 750,751 **** --- 750,753 ---- { /* Add new patch number below this line */ + /**/ + 1596, /**/ -- hundred-and-one symptoms of being an internet addict: 84. Books in your bookcase bear the names Bongo, WinSock and Inside OLE /// 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 ///