forked from aniani/vim
updated for version 7.3.478
Problem: Memory leak using the ':rv!' command when reading dictionary or list global variables i.e. with 'viminfo' containing !. Solution: Free the typeval. (Dominique Pelle)
This commit is contained in:
parent
12b0290d42
commit
507cc8acf1
@ -22976,6 +22976,7 @@ read_viminfo_varlist(virp, writing)
|
|||||||
{
|
{
|
||||||
vim_free(tv.vval.v_string);
|
vim_free(tv.vval.v_string);
|
||||||
tv = *etv;
|
tv = *etv;
|
||||||
|
vim_free(etv);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -714,6 +714,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 */
|
||||||
|
/**/
|
||||||
|
478,
|
||||||
/**/
|
/**/
|
||||||
477,
|
477,
|
||||||
/**/
|
/**/
|
||||||
|
Loading…
x
Reference in New Issue
Block a user