jkunstle / rpms / vim

Forked from rpms/vim 3 years ago
Clone

Blame SOURCES/7.4.192

073263
To: vim_dev@googlegroups.com
073263
Subject: Patch 7.4.192
073263
Fcc: outbox
073263
From: Bram Moolenaar <Bram@moolenaar.net>
073263
Mime-Version: 1.0
073263
Content-Type: text/plain; charset=UTF-8
073263
Content-Transfer-Encoding: 8bit
073263
------------
073263
073263
Patch 7.4.192
073263
Problem:    Memory leak when giving E853.
073263
Solution:   Free the argument. (Dominique Pelle)
073263
Files:      src/eval.c
073263
073263
073263
*** ../vim-7.4.191/src/eval.c	2014-02-23 23:38:58.824760280 +0100
073263
--- src/eval.c	2014-02-24 03:27:39.244738435 +0100
073263
***************
073263
*** 21457,21462 ****
073263
--- 21457,21463 ----
073263
  		if (STRCMP(((char_u **)(newargs.ga_data))[i], arg) == 0)
073263
  		{
073263
  		    EMSG2(_("E853: Duplicate argument name: %s"), arg);
073263
+ 		    vim_free(arg);
073263
  		    goto erret;
073263
  		}
073263
  
073263
*** ../vim-7.4.191/src/version.c	2014-02-23 23:38:58.828760280 +0100
073263
--- src/version.c	2014-02-24 03:28:23.068738365 +0100
073263
***************
073263
*** 740,741 ****
073263
--- 740,743 ----
073263
  {   /* Add new patch number below this line */
073263
+ /**/
073263
+     192,
073263
  /**/
073263
073263
-- 
073263
Seen on the back of a biker's vest: If you can read this, my wife fell off.
073263
073263
 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
073263
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
073263
\\\  an exciting new programming language -- http://www.Zimbu.org        ///
073263
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///