]>
Commit | Line | Data |
---|---|---|
2f43f8e6 ER |
1 | To: vim-dev@vim.org |
2 | Subject: Patch 7.2.039 | |
3 | Fcc: outbox | |
4 | From: Bram Moolenaar <Bram@moolenaar.net> | |
5 | Mime-Version: 1.0 | |
6 | Content-Type: text/plain; charset=ISO-8859-1 | |
7 | Content-Transfer-Encoding: 8bit | |
8 | ------------ | |
9 | ||
10 | Patch 7.2.039 | |
11 | Problem: Accessing freed memory on exit when EXITFREE is defined. | |
12 | Solution: Call hash_init() on the v: hash table. | |
13 | Files: src/eval.c | |
14 | ||
15 | ||
16 | *** ../vim-7.2.038/src/eval.c Sun Nov 9 17:21:10 2008 | |
17 | --- src/eval.c Wed Nov 12 12:15:14 2008 | |
18 | *************** | |
19 | *** 856,861 **** | |
20 | --- 856,862 ---- | |
21 | } | |
22 | } | |
23 | hash_clear(&vimvarht); | |
24 | + hash_init(&vimvarht); /* garbage_collect() will access it */ | |
25 | hash_clear(&compat_hashtab); | |
26 | ||
27 | /* script-local variables */ | |
28 | *** ../vim-7.2.038/src/version.c Wed Nov 12 14:52:11 2008 | |
29 | --- src/version.c Wed Nov 12 15:09:39 2008 | |
30 | *************** | |
31 | *** 678,679 **** | |
32 | --- 678,681 ---- | |
33 | { /* Add new patch number below this line */ | |
34 | + /**/ | |
35 | + 39, | |
36 | /**/ | |
37 | ||
38 | -- | |
39 | hundred-and-one symptoms of being an internet addict: | |
40 | 242. You turn down a better-paying job because it doesn't come with | |
41 | a free e-mail account. | |
42 | ||
43 | /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\ | |
44 | /// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\ | |
45 | \\\ download, build and distribute -- http://www.A-A-P.org /// | |
46 | \\\ help me help AIDS victims -- http://ICCF-Holland.org /// |