aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/eval/typval.c
diff options
context:
space:
mode:
authorzeertzjq <zeertzjq@outlook.com>2025-02-03 10:45:50 +0800
committerzeertzjq <zeertzjq@outlook.com>2025-02-03 11:14:17 +0800
commit82b029cbb00dbe9649824f7795c177974955d683 (patch)
tree9f51d810edc3ce79ada931feb37df6be40fabea8 /src/nvim/eval/typval.c
parent638c6b406bc41d4fed5ef282bae526888de8229a (diff)
downloadrneovim-82b029cbb00dbe9649824f7795c177974955d683.tar.gz
rneovim-82b029cbb00dbe9649824f7795c177974955d683.tar.bz2
rneovim-82b029cbb00dbe9649824f7795c177974955d683.zip
vim-patch:9.0.1142: crash and/or memory leak when redefining function
Problem: Crash and/or memory leak when redefining function after error. Solution: Clear pointer after making a copy. Clear arrays on failure. (closes vim/vim#11774) https://github.com/vim/vim/commit/f057171d8b562c72334fd7c15c89ff787358ce3a Co-authored-by: Bram Moolenaar <Bram@vim.org>
Diffstat (limited to 'src/nvim/eval/typval.c')
0 files changed, 0 insertions, 0 deletions