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

ib subversion at mplayerhq.hu
Sun Mar 6 14:04:07 CET 2011


Author: ib
Date: Sun Mar  6 14:04:07 2011
New Revision: 33034

Log:
Prefer free() to gfree().

With the memset following now, there is no more reason for gfree().

Modified:
   trunk/gui/app.c

Modified: trunk/gui/app.c
==============================================================================
--- trunk/gui/app.c	Sun Mar  6 13:30:49 2011	(r33033)
+++ trunk/gui/app.c	Sun Mar  6 14:04:07 2011	(r33034)
@@ -80,8 +80,8 @@ static void appClearItem(wItem *item)
 {
     bpFree(&item->Bitmap);
     bpFree(&item->Mask);
-    gfree((void **)&item->label);
-    gfree((void **)&item->text);
+    free(item->label);
+    free(item->text);
     memset(item, 0, sizeof(*item));
 }
 


More information about the MPlayer-cvslog mailing list