diff libmpcodecs/vd_xanim.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 4500ce87a70c
children 25667edae85c
line wrap: on
line diff
--- a/libmpcodecs/vd_xanim.c	Sat Nov 13 10:23:34 2010 +0000
+++ b/libmpcodecs/vd_xanim.c	Sun Nov 14 09:12:34 2010 +0000
@@ -771,8 +771,7 @@
 	    close_func();
 	}
     dlclose(priv->file_handler);
-    if (priv->decinfo != NULL)
-	free(priv->decinfo);
+    free(priv->decinfo);
     free(priv);
 }