From 47b8342abd3dfee39f5961dbb15883c3a95d8488 Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Mon, 24 Feb 2014 03:32:00 +0100 Subject: [PATCH] updated for version 7.4.192 Problem: Memory leak when giving E853. Solution: Free the argument. (Dominique Pelle) --- src/eval.c | 1 + src/version.c | 2 ++ 2 files changed, 3 insertions(+) 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, /**/ -- 2.50.1