Problem: memory leak when not evaluating (just parsing) invalid literal dict.
Solution: always clear the key's typval.
Though "check_typval_is_value(&tv) == FAIL && !evaluate" is maybe never true, also always clear tvs if check_typval_is_value fails; at worst this would be a no-op as their initial types are VAR_UNKNOWN.
https://github.com/vim/vim/pull/19178
(2 files)
—
Reply to this email directly, view it on GitHub.
You are receiving this because you are subscribed to this thread.![]()