Mercurial > mplayer.hg
diff libvo/vo_md5sum.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 | 168e89b341b1 |
children | 6d0b010a2bb7 |
line wrap: on
line diff
--- a/libvo/vo_md5sum.c Sat Nov 13 10:23:34 2010 +0000 +++ b/libvo/vo_md5sum.c Sun Nov 14 09:12:34 2010 +0000 @@ -281,10 +281,8 @@ static void uninit(void) { - if (md5sum_outfile) { - free(md5sum_outfile); - md5sum_outfile = NULL; - } + free(md5sum_outfile); + md5sum_outfile = NULL; if (md5sum_fd) fclose(md5sum_fd); }