commit | 62f8b4e18014b259bcde4a2845c602b0a44a3714 | [log] [tgz] |
---|---|---|
author | Bram Moolenaar <Bram@vim.org> | Sat Jun 11 15:31:47 2016 +0200 |
committer | Bram Moolenaar <Bram@vim.org> | Sat Jun 11 15:31:47 2016 +0200 |
tree | 76fc113d90ca646be2c912fca8e4128ca542a822 | |
parent | 012270936c3c7df3bba45ad2b48938c23a2fd43a [diff] [blame] |
patch 7.4.1918 Problem: Not enough testing for parsing viminfo lines. Solution: Add test with viminfo lines in bad syntax. Fix memory leak.
diff --git a/src/ex_getln.c b/src/ex_getln.c index 87aed90..7f019c6 100644 --- a/src/ex_getln.c +++ b/src/ex_getln.c
@@ -6471,6 +6471,7 @@ vim_free(history[type][i].hisstr); vim_free(history[type]); history[type] = new_hist; + vim_free(tot_hist); } /*