]> granicus.if.org Git - vim/commit
patch 9.0.0117: text of removed textprop with text is not freed v9.0.0117
authorBram Moolenaar <Bram@vim.org>
Sat, 30 Jul 2022 21:17:18 +0000 (22:17 +0100)
committerBram Moolenaar <Bram@vim.org>
Sat, 30 Jul 2022 21:17:18 +0000 (22:17 +0100)
commit3a4cd39d476474e20e88ebf120ca6070cc0d0072
tree16fd88c4fe566584cf1ef076dc835f3d85825b01
parent711483cd1381a4ed848d783ae0a6792d5b04447b
patch 9.0.0117: text of removed textprop with text is not freed

Problem:    Text of removed textprop with text is not freed.
Solution:   Free the text when the property is removed.  Reduce the array size
            to ignore NULLs at the end.
src/testdir/test_textprop.vim
src/textprop.c
src/version.c