Patch 7.4.192
Problem:    Memory leak when giving E853.
Solution:   Free the argument. (Dominique Pelle)
Files:      src/eval.c


*** ../vim-7.4.191/src/eval.c   2014-02-23 23:38:58.824760280 +0100
--- src/eval.c  2014-02-24 03:27:39.244738435 +0100
***************
*** 21457,21462 ****
--- 21457,21463 ----
                if (STRCMP(((char_u **)(newargs.ga_data))[i], arg) == 0)
                {
                    EMSG2(_("E853: Duplicate argument name: %s"), arg);
+                   vim_free(arg);
                    goto erret;
                }
  
*** ../vim-7.4.191/src/version.c        2014-02-23 23:38:58.828760280 +0100
--- src/version.c       2014-02-24 03:28:23.068738365 +0100
***************
*** 740,741 ****
--- 740,743 ----
  {   /* Add new patch number below this line */
+ /**/
+     192,
  /**/

-- 
Seen on the back of a biker's vest: If you can read this, my wife fell off.

 /// 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/groups/opt_out.

Raspunde prin e-mail lui