Remove some cppcheck style warnings

This commit is contained in:
R. Bernstein
2009-10-27 21:28:11 -04:00
parent b43dc9cd98
commit 3844f42df8
8 changed files with 9 additions and 16 deletions

View File

@@ -153,8 +153,8 @@ main(int argc, const char *argv[])
if (psz_mes || psz_err)
printf("%s%s\n", psz_mes ? psz_mes: "", psz_err ? psz_err: "");
if (psz_err) free(psz_err);
if (psz_mes) free(psz_mes);
free(psz_err);
free(psz_mes);
if( !p_readbuf ) {
printf("paranoia read error. Stopping.\n");
break;