diff options
author | Bram Moolenaar <Bram@vim.org> | 2014-02-24 03:32:00 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2014-02-24 03:32:00 +0100 |
commit | 47b8342abd3dfee39f5961dbb15883c3a95d8488 (patch) | |
tree | a226a815010311a21f99b48f71f503a865d44679 | |
parent | 251835e14f6fb4134a041c2ba9d3e7b84b783e86 (diff) |
updated for version 7.4.192v7.4.192
Problem: Memory leak when giving E853.
Solution: Free the argument. (Dominique Pelle)
-rw-r--r-- | src/eval.c | 1 | ||||
-rw-r--r-- | src/version.c | 2 |
2 files changed, 3 insertions, 0 deletions
diff --git a/src/eval.c b/src/eval.c index 85c4031545..59cfd1292c 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 9c9586b127..9c0945e257 100644 --- a/src/version.c +++ b/src/version.c @@ -739,6 +739,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 192, +/**/ 191, /**/ 190, |