diff options
author | Bram Moolenaar <Bram@vim.org> | 2012-03-23 15:37:02 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2012-03-23 15:37:02 +0100 |
commit | 507cc8acf1175d7d15abc004ace214dfeffc031c (patch) | |
tree | 95ad67667d6ab69feebcf045a99a107dafcda8b9 | |
parent | 12b0290d42efe9b6cf93f2903f12d76a100c60cb (diff) |
updated for version 7.3.478v7.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)
-rw-r--r-- | src/eval.c | 1 | ||||
-rw-r--r-- | src/version.c | 2 |
2 files changed, 3 insertions, 0 deletions
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 @@ -715,6 +715,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 478, +/**/ 477, /**/ 476, |