[MPlayer-cvslog] r35891 - trunk/gui/ui/main.c

ib subversion at mplayerhq.hu
Sat Jan 26 00:59:11 CET 2013


Author: ib
Date: Sat Jan 26 00:59:11 2013
New Revision: 35891

Log:
Remove unnecessary, conditional free() call.

The condition is pointless and it's already freed in uiMainDone()
which has to be called prior to calling uiMainInit() again.

Modified:
   trunk/gui/ui/main.c

Modified: trunk/gui/ui/main.c
==============================================================================
--- trunk/gui/ui/main.c	Sat Jan 26 00:47:34 2013	(r35890)
+++ trunk/gui/ui/main.c	Sat Jan 26 00:59:11 2013	(r35891)
@@ -340,8 +340,6 @@ static void uiMainDND(int num,char** fil
 
 void uiMainInit (void)
 {
-  if (mainDrawBuffer) free(mainDrawBuffer);
-
   mainDrawBuffer = malloc(guiApp.main.Bitmap.ImageSize);
 
   if (!mainDrawBuffer)


More information about the MPlayer-cvslog mailing list