fixed error with the return value of fgets into convert.c file

This commit is contained in:
Mickael Savinaud
2011-08-10 15:54:15 +00:00
parent 7812030886
commit 0e8995aa7e
2 changed files with 1 additions and 1 deletions

View File

@@ -1415,7 +1415,6 @@ static void read_pnm_header(FILE *reader, struct pnm_header *ph)
free(return_value_fgets);
return;
}
free(return_value_fgets);
if(line[0] != 'P')
{