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 -- [email protected] -- 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    ///

-- 
-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Raspunde prin e-mail lui