summaryrefslogtreecommitdiffstats
path: root/source/ap/vim/patches/7.2.039
diff options
context:
space:
mode:
Diffstat (limited to 'source/ap/vim/patches/7.2.039')
-rw-r--r--source/ap/vim/patches/7.2.03946
1 files changed, 46 insertions, 0 deletions
diff --git a/source/ap/vim/patches/7.2.039 b/source/ap/vim/patches/7.2.039
new file mode 100644
index 000000000..f9cb18eb4
--- /dev/null
+++ b/source/ap/vim/patches/7.2.039
@@ -0,0 +1,46 @@
+To: vim-dev@vim.org
+Subject: Patch 7.2.039
+Fcc: outbox
+From: Bram Moolenaar <Bram@moolenaar.net>
+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 ///