diff libvo/vo_xvidix.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 ac7cc5583145
children 899d817e56fc
line wrap: on
line diff
--- a/libvo/vo_xvidix.c	Sat Nov 13 10:23:34 2010 +0000
+++ b/libvo/vo_xvidix.c	Sun Nov 14 09:12:34 2010 +0000
@@ -362,11 +362,8 @@
         return;
     vidix_term();
 
-    if (vidix_name)
-    {
-        free(vidix_name);
-        vidix_name = NULL;
-    }
+    free(vidix_name);
+    vidix_name = NULL;
 
     vo_x11_uninit();
 }