[SCM] Vim packaging branch, master, updated. debian/7.2.000-3-14-ga98cef7

James Vega jamessan at debian.org
Sat Sep 27 20:46:25 UTC 2008


The following commit has been merged in the master branch:
commit 25fdf052db4669d25c5f2e6744a0a448308cacfc
Author: Bram Moolenaar <Bram at moolenaar.net>
Date:   Mon Sep 1 13:38:48 2008 -0400

    [7.2.002] leaking memory when displaying menus
    
    Patch 7.2.002
    Problem:    Leaking memory when displaying menus.
    Solution:   Free allocated memory. (Dominique Pelle)

diff --git a/src/menu.c b/src/menu.c
index 94e5938..7d4839f 100644
--- a/src/menu.c
+++ b/src/menu.c
@@ -1120,6 +1120,7 @@ show_menus(path_name, modes)
 	parent = menu;
 	menu = menu->children;
     }
+    vim_free(path_name);
 
     /* Now we have found the matching menu, and we list the mappings */
 						    /* Highlight title */
diff --git a/src/version.c b/src/version.c
index c8565c4..6730cc0 100644
--- a/src/version.c
+++ b/src/version.c
@@ -677,6 +677,8 @@ static char *(features[]) =
 static int included_patches[] =
 {   /* Add new patch number below this line */
 /**/
+    2,
+/**/
     1,
 /**/
     0

-- 
Vim packaging



More information about the pkg-vim-maintainers mailing list