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:
@@ -2138,6 +2138,7 @@ get_lval(
|
||||
|| &lp->ll_dict->dv_hashtab == get_funccal_args_ht())
|
||||
{
|
||||
semsg(_(e_illvar), name);
|
||||
clear_tv(&var1);
|
||||
return NULL;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user