# HG changeset patch # User Bram Moolenaar # Date 1332513422 -3600 # Node ID 754db405921292fc57dbdaa85e62af333dce5912 # Parent 588ffe93044b72b6b92190bd195c3ad0dc540a8a 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 --- 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 --- a/src/version.c +++ b/src/version.c @@ -715,6 +715,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 478, +/**/ 477, /**/ 476,