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