cleanup: remove NULL checks before free() all over the code

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@32624 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
cboesch authored and Uoti Urpala committed 2010-11-14 13:11:20 +02:00
1 parent b492561241
commit fe3c4810e1
119 files changed
+277 -481

No files matched your search

+2 -4
View File
@@ -115,10 +115,8 @@ int mp_input_lirc_read(int fd,char* dest, int s) {
void
mp_input_lirc_close(int fd) {
if(cmd_buf) {
free(cmd_buf);
cmd_buf = NULL;
}
free(cmd_buf);
cmd_buf = NULL;
lirc_freeconfig(lirc_config);
lirc_deinit();
}