]>
Commit | Line | Data |
---|---|---|
25f687b8 AM |
1 | To: vim-dev@vim.org |
2 | Subject: Patch 7.1.136 | |
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.1.136 | |
11 | Problem: Memory leak when using Ruby syntax highlighting. (Dominique Pelle) | |
12 | Solution: Free the contained-in list. | |
13 | Files: src/syntax.c | |
14 | ||
15 | ||
16 | *** ../vim-7.1.135/src/syntax.c Thu Aug 30 19:36:52 2007 | |
17 | --- src/syntax.c Sun Oct 7 15:10:54 2007 | |
18 | *************** | |
19 | *** 3354,3359 **** | |
20 | --- 3354,3360 ---- | |
21 | { | |
22 | vim_free(SYN_ITEMS(buf)[i].sp_cont_list); | |
23 | vim_free(SYN_ITEMS(buf)[i].sp_next_list); | |
24 | + vim_free(SYN_ITEMS(buf)[i].sp_syn.cont_in_list); | |
25 | } | |
26 | } | |
27 | ||
28 | *** ../vim-7.1.135/src/version.c Wed Oct 3 14:30:54 2007 | |
29 | --- src/version.c Sun Oct 7 15:20:22 2007 | |
30 | *************** | |
31 | *** 668,669 **** | |
32 | --- 668,671 ---- | |
33 | { /* Add new patch number below this line */ | |
34 | + /**/ | |
35 | + 136, | |
36 | /**/ | |
37 | ||
38 | -- | |
39 | Every engineer dreams about saving the universe and having sex with aliens. | |
40 | This is much more glamorous than the real life of an engineer, which consists | |
41 | of hiding from the universe and having sex without the participation of other | |
42 | life forms. (Scott Adams - The Dilbert principle) | |
43 | ||
44 | /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\ | |
45 | /// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\ | |
46 | \\\ download, build and distribute -- http://www.A-A-P.org /// | |
47 | \\\ help me help AIDS victims -- http://ICCF-Holland.org /// |