[MPlayer-cvslog] r35892 - trunk/gui/ui/playbar.c

ib subversion at mplayerhq.hu
Sat Jan 26 01:00:05 CET 2013


Author: ib
Date: Sat Jan 26 01:00:05 2013
New Revision: 35892

Log:
Remove unnecessary nfree() call.

It's already freed in uiPlaybarDone() which has to be called
prior to calling uiPlaybarInit() again.

Modified:
   trunk/gui/ui/playbar.c

Modified: trunk/gui/ui/playbar.c
==============================================================================
--- trunk/gui/ui/playbar.c	Sat Jan 26 00:59:11 2013	(r35891)
+++ trunk/gui/ui/playbar.c	Sat Jan 26 01:00:05 2013	(r35892)
@@ -236,8 +236,6 @@ void uiPlaybarInit( void )
 {
  if ( !guiApp.playbarIsPresent ) return;
 
- nfree( playbarDrawBuffer );
-
  if ( ( playbarDrawBuffer = malloc( guiApp.playbar.Bitmap.ImageSize ) ) == NULL )
   {
    gmp_msg( MSGT_GPLAYER,MSGL_FATAL,MSGTR_NEMDB );


More information about the MPlayer-cvslog mailing list