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:
@@ -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;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user