]> granicus.if.org Git - vim/commit
patch 8.2.3951: Vim9: memory leak when text after a nested function v8.2.3951
authorBram Moolenaar <Bram@vim.org>
Thu, 30 Dec 2021 17:09:05 +0000 (17:09 +0000)
committerBram Moolenaar <Bram@vim.org>
Thu, 30 Dec 2021 17:09:05 +0000 (17:09 +0000)
commitd293981d2b76b40013143fe2302b910585e50808
tree87e99a889ddfb0344376b4553a14963de88a25cb
parent94f3192b03ed27474db80b4d3a409e107140738b
patch 8.2.3951: Vim9: memory leak when text after a nested function

Problem:    Vim9: memory leak when text after a nested function.
Solution:   Free the function if text is found after "enddef".
src/testdir/test_vim9_func.vim
src/version.c
src/vim9compile.c