[MPlayer-cvslog] r33204 - trunk/gui/util/bitmap.c

ib subversion at mplayerhq.hu
Mon Apr 4 15:24:00 CEST 2011


Author: ib
Date: Mon Apr  4 15:24:00 2011
New Revision: 33204

Log:
Use bpFree() to free the bitmap structure.

Modified:
   trunk/gui/util/bitmap.c

Modified: trunk/gui/util/bitmap.c
==============================================================================
--- trunk/gui/util/bitmap.c	Mon Apr  4 15:20:02 2011	(r33203)
+++ trunk/gui/util/bitmap.c	Mon Apr  4 15:24:00 2011	(r33204)
@@ -256,10 +256,8 @@ int Convert32to1(txSample *in, txSample 
         if (b)
             out->Image[c] = tmp;
 
-        if (!shaped) {
-            free(out->Image);
-            out->Image = NULL;
-        }
+        if (!shaped)
+            bpFree(out);
     }
 
     return 1;


More information about the MPlayer-cvslog mailing list