]> git.ipfire.org Git - thirdparty/vim.git/commit
patch 8.2.2101: Vim9: memory leak when literal dict has an error v8.2.2101
authorBram Moolenaar <Bram@vim.org>
Sun, 6 Dec 2020 15:03:55 +0000 (16:03 +0100)
committerBram Moolenaar <Bram@vim.org>
Sun, 6 Dec 2020 15:03:55 +0000 (16:03 +0100)
commit8bb0f5472c740458708fd3edabbb8d5193a96241
treeb21ab779e1502e16c2275d0fe9ec120c561a3279
parent67322bf74a106b6476b093e75da87d61e2181b76
patch 8.2.2101: Vim9: memory leak when literal dict has an error

Problem:    Vim9: memory leak when literal dict has an error and when an
            expression is not complete.
Solution:   Clear the typval and the growarray.
src/dict.c
src/version.c
src/vim9compile.c