]> granicus.if.org Git - vim/commitdiff
updated for version 7.4.192 v7.4.192
authorBram Moolenaar <Bram@vim.org>
Mon, 24 Feb 2014 02:32:00 +0000 (03:32 +0100)
committerBram Moolenaar <Bram@vim.org>
Mon, 24 Feb 2014 02:32:00 +0000 (03:32 +0100)
Problem:    Memory leak when giving E853.
Solution:   Free the argument. (Dominique Pelle)

src/eval.c
src/version.c

index 85c40315458c260ae996f22b1f036bee4262990b..59cfd1292c2234c5a77d1a5d2b9df0814ad90f9c 100644 (file)
@@ -21457,6 +21457,7 @@ ex_function(eap)
                if (STRCMP(((char_u **)(newargs.ga_data))[i], arg) == 0)
                {
                    EMSG2(_("E853: Duplicate argument name: %s"), arg);
+                   vim_free(arg);
                    goto erret;
                }
 
index 9c9586b1277d4aef7d12543cc7c41f318eb2c225..9c0945e2574fb4b3ab991bc85a91591bf8779429 100644 (file)
@@ -738,6 +738,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    192,
 /**/
     191,
 /**/