From: Bram Moolenaar Date: Fri, 23 Mar 2012 14:37:02 +0000 (+0100) Subject: updated for version 7.3.478 X-Git-Tag: v7.3.478 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=507cc8acf1175d7d15abc004ace214dfeffc031c;p=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) --- diff --git a/src/eval.c b/src/eval.c index 13e520b6d..bfb72b1fc 100644 --- a/src/eval.c +++ b/src/eval.c @@ -22976,6 +22976,7 @@ read_viminfo_varlist(virp, writing) { vim_free(tv.vval.v_string); tv = *etv; + vim_free(etv); } } diff --git a/src/version.c b/src/version.c index 170784c98..b1b1a524b 100644 --- a/src/version.c +++ b/src/version.c @@ -714,6 +714,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 478, /**/ 477, /**/