[MPlayer-cvslog] r25374 - trunk/libmenu/menu_dvbin.c

ulion subversion at mplayerhq.hu
Wed Dec 12 06:39:17 CET 2007


Author: ulion
Date: Wed Dec 12 06:39:17 2007
New Revision: 25374

Log:
Fix memory leak, reported by Andrew Calkin <andrew P calkin A gmail P com>.


Modified:
   trunk/libmenu/menu_dvbin.c

Modified: trunk/libmenu/menu_dvbin.c
==============================================================================
--- trunk/libmenu/menu_dvbin.c	(original)
+++ trunk/libmenu/menu_dvbin.c	Wed Dec 12 06:39:17 2007
@@ -213,6 +213,7 @@ static void read_cmd(menu_t* menu, int c
 				sprintf(cmd_name, "loadfile 'dvb://%d@%s'", mpriv->card+1, elem->p.txt);
 		
 		c = mp_input_parse_cmd(cmd_name);
+		free(cmd_name);
     	if(c)
           {
             if (mpriv->auto_close)



More information about the MPlayer-cvslog mailing list