aboutsummaryrefslogtreecommitdiff
path: root/runtime/syntax/python.vim
diff options
context:
space:
mode:
authorzeertzjq <zeertzjq@outlook.com>2026-07-25 07:01:02 +0800
committerzeertzjq <zeertzjq@outlook.com>2026-07-25 07:07:43 +0800
commit89cab37358a49f7bfe7f3d40b75f8b3a4a573222 (patch)
tree30681fa0b060d3479f02ddecb0265e0ada990e7f /runtime/syntax/python.vim
parentba0e5b25bcaf307019b619db25bd19c78bb59846 (diff)
downloadrneovim-89cab37358a49f7bfe7f3d40b75f8b3a4a573222.tar.gz
rneovim-89cab37358a49f7bfe7f3d40b75f8b3a4a573222.tar.bz2
rneovim-89cab37358a49f7bfe7f3d40b75f8b3a4a573222.zip
vim-patch:9.2.0854: memory leak when reading a spell file with SN_SAL and SN_SOFO
Problem: Memory leak when a spell file has an SN_SAL section before an SN_SOFO section: set_sofo() reuses sl_sal without freeing the salitem_T entries left by read_sal_section() (after v9.2.0846). Solution: Factor the SAL free loop into free_sal_items() and call it before set_sofo() reuses sl_sal. closes: vim/vim#20836 Supported by AI. https://github.com/vim/vim/commit/5a7ce2733a2d9d9fccad4dd48047546000d9994d Co-authored-by: Christian Brabandt <cb@256bit.org>
Diffstat (limited to 'runtime/syntax/python.vim')
0 files changed, 0 insertions, 0 deletions