|
Karsten Hopp |
0f5249 |
To: vim-dev@vim.org
|
|
Karsten Hopp |
0f5249 |
Subject: Patch 7.2.002
|
|
Karsten Hopp |
0f5249 |
Fcc: outbox
|
|
Karsten Hopp |
0f5249 |
From: Bram Moolenaar <Bram@moolenaar.net>
|
|
Karsten Hopp |
0f5249 |
Mime-Version: 1.0
|
|
Karsten Hopp |
0f5249 |
Content-Type: text/plain; charset=ISO-8859-1
|
|
Karsten Hopp |
0f5249 |
Content-Transfer-Encoding: 8bit
|
|
Karsten Hopp |
0f5249 |
------------
|
|
Karsten Hopp |
0f5249 |
|
|
Karsten Hopp |
0f5249 |
Patch 7.2.002
|
|
Karsten Hopp |
0f5249 |
Problem: Leaking memory when displaying menus.
|
|
Karsten Hopp |
0f5249 |
Solution: Free allocated memory. (Dominique Pelle)
|
|
Karsten Hopp |
0f5249 |
Files: src/menu.c
|
|
Karsten Hopp |
0f5249 |
|
|
Karsten Hopp |
0f5249 |
|
|
Karsten Hopp |
0f5249 |
*** ../vim-7.2.001/src/menu.c Wed Jun 25 00:19:17 2008
|
|
Karsten Hopp |
0f5249 |
--- src/menu.c Sat Aug 16 05:38:45 2008
|
|
Karsten Hopp |
0f5249 |
***************
|
|
Karsten Hopp |
0f5249 |
*** 1120,1125 ****
|
|
Karsten Hopp |
0f5249 |
--- 1120,1126 ----
|
|
Karsten Hopp |
0f5249 |
parent = menu;
|
|
Karsten Hopp |
0f5249 |
menu = menu->children;
|
|
Karsten Hopp |
0f5249 |
}
|
|
Karsten Hopp |
0f5249 |
+ vim_free(path_name);
|
|
Karsten Hopp |
0f5249 |
|
|
Karsten Hopp |
0f5249 |
/* Now we have found the matching menu, and we list the mappings */
|
|
Karsten Hopp |
0f5249 |
/* Highlight title */
|
|
Karsten Hopp |
0f5249 |
*** ../vim-7.2.001/src/version.c Sun Aug 17 23:01:21 2008
|
|
Karsten Hopp |
0f5249 |
--- src/version.c Sun Aug 17 23:42:53 2008
|
|
Karsten Hopp |
0f5249 |
***************
|
|
Karsten Hopp |
0f5249 |
*** 678,679 ****
|
|
Karsten Hopp |
0f5249 |
--- 678,681 ----
|
|
Karsten Hopp |
0f5249 |
{ /* Add new patch number below this line */
|
|
Karsten Hopp |
0f5249 |
+ /**/
|
|
Karsten Hopp |
0f5249 |
+ 2,
|
|
Karsten Hopp |
0f5249 |
/**/
|
|
Karsten Hopp |
0f5249 |
|
|
Karsten Hopp |
0f5249 |
--
|
|
Karsten Hopp |
0f5249 |
ARTHUR: You are indeed brave Sir knight, but the fight is mine.
|
|
Karsten Hopp |
0f5249 |
BLACK KNIGHT: Had enough?
|
|
Karsten Hopp |
0f5249 |
ARTHUR: You stupid bastard. You havn't got any arms left.
|
|
Karsten Hopp |
0f5249 |
"Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD
|
|
Karsten Hopp |
0f5249 |
|
|
Karsten Hopp |
0f5249 |
/// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
|
|
Karsten Hopp |
0f5249 |
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
|
|
Karsten Hopp |
0f5249 |
\\\ download, build and distribute -- http://www.A-A-P.org ///
|
|
Karsten Hopp |
0f5249 |
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
|