|
Karsten Hopp |
1befe8 |
To: vim-dev@vim.org
|
|
Karsten Hopp |
1befe8 |
Subject: Patch 7.1.136
|
|
Karsten Hopp |
1befe8 |
Fcc: outbox
|
|
Karsten Hopp |
1befe8 |
From: Bram Moolenaar <Bram@moolenaar.net>
|
|
Karsten Hopp |
1befe8 |
Mime-Version: 1.0
|
|
Karsten Hopp |
1befe8 |
Content-Type: text/plain; charset=ISO-8859-1
|
|
Karsten Hopp |
1befe8 |
Content-Transfer-Encoding: 8bit
|
|
Karsten Hopp |
1befe8 |
------------
|
|
Karsten Hopp |
1befe8 |
|
|
Karsten Hopp |
1befe8 |
Patch 7.1.136
|
|
Karsten Hopp |
1befe8 |
Problem: Memory leak when using Ruby syntax highlighting. (Dominique Pelle)
|
|
Karsten Hopp |
1befe8 |
Solution: Free the contained-in list.
|
|
Karsten Hopp |
1befe8 |
Files: src/syntax.c
|
|
Karsten Hopp |
1befe8 |
|
|
Karsten Hopp |
1befe8 |
|
|
Karsten Hopp |
1befe8 |
*** ../vim-7.1.135/src/syntax.c Thu Aug 30 19:36:52 2007
|
|
Karsten Hopp |
1befe8 |
--- src/syntax.c Sun Oct 7 15:10:54 2007
|
|
Karsten Hopp |
1befe8 |
***************
|
|
Karsten Hopp |
1befe8 |
*** 3354,3359 ****
|
|
Karsten Hopp |
1befe8 |
--- 3354,3360 ----
|
|
Karsten Hopp |
1befe8 |
{
|
|
Karsten Hopp |
1befe8 |
vim_free(SYN_ITEMS(buf)[i].sp_cont_list);
|
|
Karsten Hopp |
1befe8 |
vim_free(SYN_ITEMS(buf)[i].sp_next_list);
|
|
Karsten Hopp |
1befe8 |
+ vim_free(SYN_ITEMS(buf)[i].sp_syn.cont_in_list);
|
|
Karsten Hopp |
1befe8 |
}
|
|
Karsten Hopp |
1befe8 |
}
|
|
Karsten Hopp |
1befe8 |
|
|
Karsten Hopp |
1befe8 |
*** ../vim-7.1.135/src/version.c Wed Oct 3 14:30:54 2007
|
|
Karsten Hopp |
1befe8 |
--- src/version.c Sun Oct 7 15:20:22 2007
|
|
Karsten Hopp |
1befe8 |
***************
|
|
Karsten Hopp |
1befe8 |
*** 668,669 ****
|
|
Karsten Hopp |
1befe8 |
--- 668,671 ----
|
|
Karsten Hopp |
1befe8 |
{ /* Add new patch number below this line */
|
|
Karsten Hopp |
1befe8 |
+ /**/
|
|
Karsten Hopp |
1befe8 |
+ 136,
|
|
Karsten Hopp |
1befe8 |
/**/
|
|
Karsten Hopp |
1befe8 |
|
|
Karsten Hopp |
1befe8 |
--
|
|
Karsten Hopp |
1befe8 |
Every engineer dreams about saving the universe and having sex with aliens.
|
|
Karsten Hopp |
1befe8 |
This is much more glamorous than the real life of an engineer, which consists
|
|
Karsten Hopp |
1befe8 |
of hiding from the universe and having sex without the participation of other
|
|
Karsten Hopp |
1befe8 |
life forms. (Scott Adams - The Dilbert principle)
|
|
Karsten Hopp |
1befe8 |
|
|
Karsten Hopp |
1befe8 |
/// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
|
|
Karsten Hopp |
1befe8 |
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
|
|
Karsten Hopp |
1befe8 |
\\\ download, build and distribute -- http://www.A-A-P.org ///
|
|
Karsten Hopp |
1befe8 |
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
|