mirror of
https://github.com/zoriya/vim.git
synced 2025-12-19 05:35:17 +00: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