Mercurial > mplayer.hg
diff libmpcodecs/vf_sab.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 | effad4f941ff |
children | 7af3e6f901fd |
line wrap: on
line diff
--- a/libmpcodecs/vf_sab.c Sat Nov 13 10:23:34 2010 +0000 +++ b/libmpcodecs/vf_sab.c Sun Nov 14 09:12:34 2010 +0000 @@ -153,10 +153,10 @@ if(f->preFilterContext) sws_freeContext(f->preFilterContext); f->preFilterContext=NULL; - if(f->preFilterBuf) free(f->preFilterBuf); + free(f->preFilterBuf); f->preFilterBuf=NULL; - if(f->distCoeff) free(f->distCoeff); + free(f->distCoeff); f->distCoeff=NULL; }