To: vim-dev@vim.org Subject: Patch 7.2.039 Fcc: outbox From: Bram Moolenaar Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit ------------ Patch 7.2.039 Problem: Accessing freed memory on exit when EXITFREE is defined. Solution: Call hash_init() on the v: hash table. Files: src/eval.c *** ../vim-7.2.038/src/eval.c Sun Nov 9 17:21:10 2008 --- src/eval.c Wed Nov 12 12:15:14 2008 *************** *** 856,861 **** --- 856,862 ---- } } hash_clear(&vimvarht); + hash_init(&vimvarht); /* garbage_collect() will access it */ hash_clear(&compat_hashtab); /* script-local variables */ *** ../vim-7.2.038/src/version.c Wed Nov 12 14:52:11 2008 --- src/version.c Wed Nov 12 15:09:39 2008 *************** *** 678,679 **** --- 678,681 ---- { /* Add new patch number below this line */ + /**/ + 39, /**/ -- hundred-and-one symptoms of being an internet addict: 242. You turn down a better-paying job because it doesn't come with a free e-mail account. /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\ /// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\ \\\ download, build and distribute -- http://www.A-A-P.org /// \\\ help me help AIDS victims -- http://ICCF-Holland.org ///