[MPlayer-cvslog] r33015 - trunk/gui/app.c

ib subversion at mplayerhq.hu
Thu Mar 3 14:58:49 CET 2011


Author: ib
Date: Thu Mar  3 14:58:48 2011
New Revision: 33015

Log:
Fix memory leak in appInitStruct().

appMPlayer.bar wasn't freed.

Modified:
   trunk/gui/app.c

Modified: trunk/gui/app.c
==============================================================================
--- trunk/gui/app.c	Thu Mar  3 14:45:30 2011	(r33014)
+++ trunk/gui/app.c	Thu Mar  3 14:58:48 2011	(r33015)
@@ -140,6 +140,7 @@ void appInitStruct(void)
     appMPlayer.sub.width  = 0;
     appMPlayer.sub.height = 0;
 
+    appClearItem(&appMPlayer.bar);
     appClearItem(&appMPlayer.menuBase);
     appClearItem(&appMPlayer.menuSelected);
 


More information about the MPlayer-cvslog mailing list