mirror of
https://github.com/vim/vim.git
synced 2025-09-24 03:44:06 -04:00
patch 8.1.1012: memory leak with E461
Problem: Memory leak with E461. Solution: Clear the typeval. (Dominique Pelle, closes #4111)
This commit is contained in:
@@ -2138,6 +2138,7 @@ get_lval(
|
|||||||
|| &lp->ll_dict->dv_hashtab == get_funccal_args_ht())
|
|| &lp->ll_dict->dv_hashtab == get_funccal_args_ht())
|
||||||
{
|
{
|
||||||
semsg(_(e_illvar), name);
|
semsg(_(e_illvar), name);
|
||||||
|
clear_tv(&var1);
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@@ -779,6 +779,8 @@ static char *(features[]) =
|
|||||||
|
|
||||||
static int included_patches[] =
|
static int included_patches[] =
|
||||||
{ /* Add new patch number below this line */
|
{ /* Add new patch number below this line */
|
||||||
|
/**/
|
||||||
|
1012,
|
||||||
/**/
|
/**/
|
||||||
1011,
|
1011,
|
||||||
/**/
|
/**/
|
||||||
|
Reference in New Issue
Block a user