From 507cc8acf1175d7d15abc004ace214dfeffc031c Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Fri, 23 Mar 2012 15:37:02 +0100 Subject: 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) --- src/eval.c | 1 + src/version.c | 2 ++ 2 files changed, 3 insertions(+) diff --git a/src/eval.c b/src/eval.c index 13e520b6db..bfb72b1fc0 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 170784c983..b1b1a524b1 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, /**/ -- cgit v1.2.3