Mercurial > mplayer.hg
diff libmpcodecs/vf_pp7.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 | a972c1a4a012 |
children | 7af3e6f901fd |
line wrap: on
line diff
--- a/libmpcodecs/vf_pp7.c Sat Nov 13 10:23:34 2010 +0000 +++ b/libmpcodecs/vf_pp7.c Sun Nov 14 09:12:34 2010 +0000 @@ -410,7 +410,7 @@ static void uninit(struct vf_instance *vf){ if(!vf->priv) return; - if(vf->priv->src) free(vf->priv->src); + free(vf->priv->src); vf->priv->src= NULL; free(vf->priv);