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 -- [email protected] -- 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    ///

-- 
-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Raspunde prin e-mail lui