diff options
author | Sam Bingner <sam@bingner.com> | 2019-06-05 22:02:50 -1000 |
---|---|---|
committer | Sam Bingner <sam@bingner.com> | 2019-06-05 22:02:50 -1000 |
commit | a255618e22152ca2e5fd361a3d0762e9db20dd80 (patch) | |
tree | 5c98f76c0de0785b8d5b58ac622da34f0d024a8f /data/vim/patches/8.1.1012 | |
parent | 1b1fa61507a809a66f053a8523f883b2b6a2f487 (diff) |
Update vim to 8.1.1471
Diffstat (limited to 'data/vim/patches/8.1.1012')
-rw-r--r-- | data/vim/patches/8.1.1012 | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/data/vim/patches/8.1.1012 b/data/vim/patches/8.1.1012 new file mode 100644 index 000000000..81d58dbef --- /dev/null +++ b/data/vim/patches/8.1.1012 @@ -0,0 +1,45 @@ +To: vim_dev@googlegroups.com +Subject: Patch 8.1.1012 +Fcc: outbox +From: Bram Moolenaar <Bram@moolenaar.net> +Mime-Version: 1.0 +Content-Type: text/plain; charset=UTF-8 +Content-Transfer-Encoding: 8bit +------------ + +Patch 8.1.1012 +Problem: Memory leak with E461. +Solution: Clear the typeval. (Dominique Pelle, closes #4111) +Files: src/eval.c + + +*** ../vim-8.1.1011/src/eval.c 2019-03-02 11:57:06.159125888 +0100 +--- src/eval.c 2019-03-17 14:41:34.694024036 +0100 +*************** +*** 2138,2143 **** +--- 2138,2144 ---- + || &lp->ll_dict->dv_hashtab == get_funccal_args_ht()) + { + semsg(_(e_illvar), name); ++ clear_tv(&var1); + return NULL; + } + +*** ../vim-8.1.1011/src/version.c 2019-03-16 18:11:03.646997858 +0100 +--- src/version.c 2019-03-17 14:43:14.761426257 +0100 +*************** +*** 781,782 **** +--- 781,784 ---- + { /* Add new patch number below this line */ ++ /**/ ++ 1012, + /**/ + +-- +Q: How many legs does a giraffe have? +A: Eight: two in front, two behind, two on the left and two on the right + + /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\ +/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\ +\\\ an exciting new programming language -- http://www.Zimbu.org /// + \\\ help me help AIDS victims -- http://ICCF-Holland.org /// |