forked from aniani/vim
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:
parent
2ba4238818
commit
ab89d7ab89
@ -2138,6 +2138,7 @@ get_lval(
|
||||
|| &lp->ll_dict->dv_hashtab == get_funccal_args_ht())
|
||||
{
|
||||
semsg(_(e_illvar), name);
|
||||
clear_tv(&var1);
|
||||
return NULL;
|
||||
}
|
||||
|
||||
|
@ -779,6 +779,8 @@ static char *(features[]) =
|
||||
|
||||
static int included_patches[] =
|
||||
{ /* Add new patch number below this line */
|
||||
/**/
|
||||
1012,
|
||||
/**/
|
||||
1011,
|
||||
/**/
|
||||
|
Loading…
x
Reference in New Issue
Block a user