aboutsummaryrefslogtreecommitdiff
path: root/runtime/lua/vim/provider/python.lua
diff options
context:
space:
mode:
authorzeertzjq <zeertzjq@outlook.com>2026-09-13 09:24:30 +0800
committerGitHub <noreply@github.com>2026-09-13 09:24:30 +0800
commit4beea5c3f45d555c64216cc98f5ce70d43cacfb7 (patch)
tree0e8decb74b7de2973a0211b49635a399169704cc /runtime/lua/vim/provider/python.lua
parent09585542f81c6384b954f6e44529cfaa8e1f65a7 (diff)
downloadrneovim-4beea5c3f45d555c64216cc98f5ce70d43cacfb7.tar.gz
rneovim-4beea5c3f45d555c64216cc98f5ce70d43cacfb7.tar.bz2
rneovim-4beea5c3f45d555c64216cc98f5ce70d43cacfb7.zip
vim-patch:9.2.1091: memory leak for 'completeslash' on MS-Windows (#41891)
Problem: buf_copy_options() allocates the buffer-local value of 'completeslash' with vim_strsave(), but free_buf_options() does not clear b_p_csl. The previous value is lost every time a buffer's options are copied again, and once more when the buffer is freed. Only built when BACKSLASH_IN_FILENAME is defined. Solution: Clear b_p_csl in free_buf_options(), next to b_p_cpt, where buf_copy_options() also puts it (dyingc). closes: vim/vim#21290 https://github.com/vim/vim/commit/dfe8124814ca9e65369afa5d1e32fcaa323ac76a Co-authored-by: dyingc <dyingc@hotmail.com>
Diffstat (limited to 'runtime/lua/vim/provider/python.lua')
0 files changed, 0 insertions, 0 deletions