]> git.ipfire.org Git - thirdparty/vim.git/commit
patch 9.0.1095: using freed memory when declaration fails v9.0.1095
authorBram Moolenaar <Bram@vim.org>
Sun, 25 Dec 2022 19:31:36 +0000 (19:31 +0000)
committerBram Moolenaar <Bram@vim.org>
Sun, 25 Dec 2022 19:31:36 +0000 (19:31 +0000)
commit6ef5471afa69a654888bc285a51a6035405d33a0
tree129d598f76891f27518586ab04edbd0cbc3b1884
parent9b99411b93f017609399e04527fdd3b6e83b5a55
patch 9.0.1095: using freed memory when declaration fails

Problem:    Using freed memory when declaration fails. (Yegappan Lakshmanan)
Solution:   After unreferencing an object set the reference to NULL.
src/testdir/test_vim9_class.vim
src/typval.c
src/version.c