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 /src/eval.c | |
parent | 12b0290d42efe9b6cf93f2903f12d76a100c60cb (diff) | |
download | vim-507cc8acf1175d7d15abc004ace214dfeffc031c.zip |
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)
Diffstat (limited to 'src/eval.c')
-rw-r--r-- | src/eval.c | 1 |
1 files changed, 1 insertions, 0 deletions
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); } } |