diff gui/skin/font.c @ 32537:8fa2f43cb760

Remove most of the NULL pointer check before free all over the code
author cboesch
date Sun, 14 Nov 2010 09:12:34 +0000
parents d39acea63f2e
children 697fd62b65f9
line wrap: on
line diff
--- a/gui/skin/font.c	Sat Nov 13 10:23:34 2010 +0000
+++ b/gui/skin/font.c	Sun Nov 14 09:12:34 2010 +0000
@@ -59,7 +59,7 @@
   {
    if ( Fonts[i] )
     {
-     if ( Fonts[i]->Bitmap.Image ) free( Fonts[i]->Bitmap.Image );
+     free( Fonts[i]->Bitmap.Image );
      free( Fonts[i] );
      Fonts[i]=NULL;
     }