[MPlayer-cvslog] r25429 - trunk/libmenu/menu_cmdlist.c

ulion subversion at mplayerhq.hu
Mon Dec 17 02:20:19 CET 2007


Author: ulion
Date: Mon Dec 17 02:20:19 2007
New Revision: 25429

Log:
Fix memory leak.


Modified:
   trunk/libmenu/menu_cmdlist.c

Modified: trunk/libmenu/menu_cmdlist.c
==============================================================================
--- trunk/libmenu/menu_cmdlist.c	(original)
+++ trunk/libmenu/menu_cmdlist.c	Mon Dec 17 02:20:19 2007
@@ -90,6 +90,10 @@ static void free_entry(list_entry_t* ent
     free(entry->ok);
   if(entry->cancel)
     free(entry->cancel);
+  if(entry->left)
+    free(entry->left);
+  if(entry->right)
+    free(entry->right);
   free(entry->p.txt);
   free(entry);
 }



More information about the MPlayer-cvslog mailing list