1
0
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:
Bram Moolenaar 2012-03-23 15:37:02 +01:00
parent 12b0290d42
commit 507cc8acf1
2 changed files with 3 additions and 0 deletions

View File

@ -22976,6 +22976,7 @@ read_viminfo_varlist(virp, writing)
{
vim_free(tv.vval.v_string);
tv = *etv;
vim_free(etv);
}
}

View File

@ -714,6 +714,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
478,
/**/
477,
/**/