]> git.ipfire.org Git - thirdparty/vim.git/commit
patch 8.2.1333: Vim9: memory leak when using nested global function v8.2.1333
authorBram Moolenaar <Bram@vim.org>
Fri, 31 Jul 2020 22:03:09 +0000 (00:03 +0200)
committerBram Moolenaar <Bram@vim.org>
Fri, 31 Jul 2020 22:03:09 +0000 (00:03 +0200)
commitaf8edbb8dc551aaf2105a4d77b3d8495da239ef0
treec968eb7edde8e1229516ad33f7f2b927b52d2314
parentce6583568ff5b3e0e6438b37ede2c80bedffba10
patch 8.2.1333: Vim9: memory leak when using nested global function

Problem:    Vim9: memory leak when using nested global function.
Solution:   Swap from and to when copying the lines.
src/testdir/test_vim9_func.vim
src/userfunc.c
src/version.c