0
0
mirror of https://github.com/vim/vim.git synced 2025-09-26 04:04:07 -04:00

updated for version 7.4.192

Problem:    Memory leak when giving E853.
Solution:   Free the argument. (Dominique Pelle)
This commit is contained in:
Bram Moolenaar
2014-02-24 03:32:00 +01:00
parent 251835e14f
commit 47b8342abd
2 changed files with 3 additions and 0 deletions

View 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;
}