diff libvo/gl_common.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 58232aeb3fdd
children 706871635af7
line wrap: on
line diff
--- a/libvo/gl_common.c	Sat Nov 13 10:23:34 2010 +0000
+++ b/libvo/gl_common.c	Sun Nov 14 09:12:34 2010 +0000
@@ -1143,8 +1143,7 @@
     default:
       mp_msg(MSGT_VO, MSGL_ERR, "[gl] unknown conversion type %i\n", conv);
   }
-  if (lookup_data)
-    free(lookup_data);
+  free(lookup_data);
 }
 
 /**