diff options
| author | zeertzjq <zeertzjq@outlook.com> | 2025-12-02 06:50:30 +0800 |
|---|---|---|
| committer | zeertzjq <zeertzjq@outlook.com> | 2025-12-02 07:24:28 +0800 |
| commit | b64e36cef099dae9cf3a8b21774783e28d17d51d (patch) | |
| tree | b5dcd0385d7702299ddc9f7ce59ffe771df2581c /test/functional/vimscript/executable_spec.lua | |
| parent | 62de643b897caee04e6fdfd89388054bd6ae9794 (diff) | |
| download | rneovim-b64e36cef099dae9cf3a8b21774783e28d17d51d.tar.gz rneovim-b64e36cef099dae9cf3a8b21774783e28d17d51d.tar.bz2 rneovim-b64e36cef099dae9cf3a8b21774783e28d17d51d.zip | |
vim-patch:9.1.1943: Memory leak with :breakadd expr
Problem: Memory leak with :breakadd expr
Solution: Free debug_oldval and debug_newval before assigning to them.
Verify the existing (though confusing) :breakadd expr behavior
(zeertzjq).
It seems that :breakadd expr doesn't work as documented at all. This PR
only fixes the memory leak. The tests are for the existing behavior.
closes: vim/vim#18844
https://github.com/vim/vim/commit/a474de64dfd853eb5d3bf04f8bbd6f7d16e10c82
Diffstat (limited to 'test/functional/vimscript/executable_spec.lua')
0 files changed, 0 insertions, 0 deletions