summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMickael Savinaud <savmickael@users.noreply.github.com>2011-08-10 15:54:15 +0000
committerMickael Savinaud <savmickael@users.noreply.github.com>2011-08-10 15:54:15 +0000
commit0e8995aa7e02e6f26c55f28f41f2990d77f011a4 (patch)
tree3447724aee4e7d6ac7d07fa40902ad3046304301
parent7812030886663e64bc6cae27dec153eded3de6d7 (diff)
fixed error with the return value of fgets into convert.c file
-rw-r--r--CHANGES1
-rw-r--r--applications/codec/convert.c1
2 files changed, 1 insertions, 1 deletions
diff --git a/CHANGES b/CHANGES
index 68f07ce8..1a645c4e 100644
--- a/CHANGES
+++ b/CHANGES
@@ -11,6 +11,7 @@ August 10, 2011
* [mickael] fixed glibc error with broken2 and broken4 images.
* [mickael] fixed segfault with 123.j2c and bug.j2c images (thanks to Tim Mattox for his improvement).
! [mickael] moved the definition of OPJ_ARG_NOT_USED from opj_includes.h to openjpeg.h
+* [mickael] fixed error with the return value of fgets into convert.c file
August 9, 2011
- [antonin] removed xcode project files (cmake and autotools are now the only supported build methods)
diff --git a/applications/codec/convert.c b/applications/codec/convert.c
index 7b255092..18fa03ff 100644
--- a/applications/codec/convert.c
+++ b/applications/codec/convert.c
@@ -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')
{