aboutsummaryrefslogtreecommitdiff
path: root/runtime/syntax/python.vim
diff options
context:
space:
mode:
authorSean Dewar <6256228+seandewar@users.noreply.github.com>2026-01-15 20:22:29 +0000
committerSean Dewar <6256228+seandewar@users.noreply.github.com>2026-01-15 23:21:33 +0000
commitba1d50fdc37ffd5850f4ee9662d8576b78663d4a (patch)
tree95788669d956fe4c76cb142f293511e773f7506b /runtime/syntax/python.vim
parent7e2e116343695b61ef8211a0c3eaea3456badef3 (diff)
downloadrneovim-ba1d50fdc37ffd5850f4ee9662d8576b78663d4a.tar.gz
rneovim-ba1d50fdc37ffd5850f4ee9662d8576b78663d4a.tar.bz2
rneovim-ba1d50fdc37ffd5850f4ee9662d8576b78663d4a.zip
vim-patch:9.1.2086: Memory leak when skipping invalid literal dict
Problem: memory leak when not evaluating (just parsing) invalid literal dict. Solution: Always clear the key's typval (Sean Dewar) 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. closes: vim/vim#19178 https://github.com/vim/vim/commit/b10a3e1a20c444ffea34be820e8ceba4b2503287 check_typval_is_value change is for Vim9 script. (from 9.0.2163) N/A patch: vim-patch:9.0.2163: Vim9: type can be assigned to list/dict Co-authored-by: Sean Dewar <6256228+seandewar@users.noreply.github.com>
Diffstat (limited to 'runtime/syntax/python.vim')
0 files changed, 0 insertions, 0 deletions