patch 9.0.1050: using freed memory when assigning to variable twice v9.0.1050
authorBram Moolenaar <Bram@vim.org>
Mon, 12 Dec 2022 18:56:32 +0000 (18:56 +0000)
committerBram Moolenaar <Bram@vim.org>
Mon, 12 Dec 2022 18:56:32 +0000 (18:56 +0000)
commit6342e2c5a6570231aefabd8e34c2f2cb22f6927a
tree68f2498cf9c05c16d55cd0d6953a1df65540c7f1
parent67578e5bcf7404d40d42876b738b72e68add1a3e
patch 9.0.1050: using freed memory when assigning to variable twice

Problem:    Using freed memory when assigning to variable twice.
Solution:   Make copy of the list type. (closes #11691)
src/testdir/test_vim9_script.vim
src/version.c
src/vim9type.c