To: vim_dev@googlegroups.com Subject: Patch 8.2.1070 Fcc: outbox From: Bram Moolenaar Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ------------ Patch 8.2.1070 Problem: Vim9: leaking memory when lacking white space in dict. Solution: Clear the typval. Files: src/dict.c *** ../vim-8.2.1069/src/dict.c 2020-06-27 14:11:50.494644105 +0200 --- src/dict.c 2020-06-27 17:00:45.628111974 +0200 *************** *** 862,867 **** --- 862,868 ---- if (vim9script && (*arg)[1] != NUL && !VIM_ISWHITE((*arg)[1])) { semsg(_(e_white_after), ":"); + clear_tv(&tvkey); goto failret; } *** ../vim-8.2.1069/src/version.c 2020-06-27 16:36:01.908867818 +0200 --- src/version.c 2020-06-27 17:03:50.887033013 +0200 *************** *** 756,757 **** --- 756,759 ---- { /* Add new patch number below this line */ + /**/ + 1070, /**/ -- Living on Earth includes an annual free trip around the Sun. /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\ /// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\ \\\ an exciting new programming language -- http://www.Zimbu.org /// \\\ help me help AIDS victims -- http://ICCF-Holland.org ///