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