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 -- b...@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 /// -- -- You received this message from the "vim_dev" maillist. Do not top-post! Type your reply below the text you are replying to. For more information, visit http://www.vim.org/maillist.php --- You received this message because you are subscribed to the Google Groups "vim_dev" group. To unsubscribe from this group and stop receiving emails from it, send an email to vim_dev+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/vim_dev/202006271504.05RF4W3B077742%40masaka.moolenaar.net.