forked from aniani/vim
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)
|
if (STRCMP(((char_u **)(newargs.ga_data))[i], arg) == 0)
|
||||||
{
|
{
|
||||||
EMSG2(_("E853: Duplicate argument name: %s"), arg);
|
EMSG2(_("E853: Duplicate argument name: %s"), arg);
|
||||||
|
vim_free(arg);
|
||||||
goto erret;
|
goto erret;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@@ -738,6 +738,8 @@ static char *(features[]) =
|
|||||||
|
|
||||||
static int included_patches[] =
|
static int included_patches[] =
|
||||||
{ /* Add new patch number below this line */
|
{ /* Add new patch number below this line */
|
||||||
|
/**/
|
||||||
|
192,
|
||||||
/**/
|
/**/
|
||||||
191,
|
191,
|
||||||
/**/
|
/**/
|
||||||
|
Reference in New Issue
Block a user