From: Bram Moolenaar Date: Mon, 24 Feb 2014 02:32:00 +0000 (+0100) Subject: updated for version 7.4.192 X-Git-Tag: v7.4.192 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=47b8342abd3dfee39f5961dbb15883c3a95d8488;p=vim updated for version 7.4.192 Problem: Memory leak when giving E853. Solution: Free the argument. (Dominique Pelle) --- diff --git a/src/eval.c b/src/eval.c index 85c403154..59cfd1292 100644 --- a/src/eval.c +++ b/src/eval.c @@ -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; } diff --git a/src/version.c b/src/version.c index 9c9586b12..9c0945e25 100644 --- a/src/version.c +++ b/src/version.c @@ -738,6 +738,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 192, /**/ 191, /**/