Package: main-menu
Version: 1.21
Severity: normal
Tags: d-i, patch

Hello.

I found one memory leak problem in the main-menu.c at show_main_menu().
The "s" variable is leaked.

Cheers,
-- 
/*
 * Masami Ichikawa
 * mailto: [EMAIL PROTECTED]
 *       : [EMAIL PROTECTED]
 */
Index: main-menu.c
===================================================================
--- main-menu.c	(revision 48961)
+++ main-menu.c	(working copy)
@@ -274,6 +274,7 @@
 		di_log(DI_LOG_LEVEL_WARNING, "Internal error! Cannot find \"%s\" in menu.", s);
 	}
 
+	free(s);
 	free(menu);
 	free(package_array);
 

Reply via email to