0
0
mirror of https://github.com/vim/vim.git synced 2025-09-23 03:43:49 -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:
Bram Moolenaar
2019-03-17 14:43:31 +01:00
parent 2ba4238818
commit ab89d7ab89
2 changed files with 3 additions and 0 deletions

View File

@@ -2138,6 +2138,7 @@ get_lval(
|| &lp->ll_dict->dv_hashtab == get_funccal_args_ht())
{
semsg(_(e_illvar), name);
clear_tv(&var1);
return NULL;
}