]> git.ipfire.org Git - thirdparty/vim.git/commit
patch 8.2.2748: Vim9: memory leak when calling :def function fails v8.2.2748
authorBram Moolenaar <Bram@vim.org>
Sat, 10 Apr 2021 18:46:48 +0000 (20:46 +0200)
committerBram Moolenaar <Bram@vim.org>
Sat, 10 Apr 2021 18:46:48 +0000 (20:46 +0200)
commitc4297697761230489a025b3e39b992cca845b1b3
tree38fc0043474ac06bb615ca6f6cb7a918f07cfd90
parentbb8a7ce0a1bcfafca715275dbadc2ead612f82dd
patch 8.2.2748: Vim9: memory leak when calling :def function fails

Problem:    Vim9: memory leak when calling :def function fails.
Solution:   Jump to failed_early instead of returning.
src/version.c
src/vim9execute.c