kopia lustrzana https://gitlab.com/sane-project/backends
Oliver Rauch: added fclose(icc_file) to stiff.c
rodzic
356318fcd0
commit
31d6f428e1
|
@ -1,3 +1,7 @@
|
|||
2002-11-29 Oliver Rauch <Oliver.Rauch@Rauch-Domain.DE>
|
||||
|
||||
* frontend/stiff.c: added fclose(icc_file)
|
||||
|
||||
2002-11-25 Peter Kirchgessner <peter@kirchgessner.net>
|
||||
|
||||
* backend/hp-device.h backend/hp-accessor.c backend/hp-scl.c
|
||||
|
|
|
@ -401,6 +401,11 @@ write_tiff_grey_header (FILE *fptr, int width, int height, int depth,
|
|||
}
|
||||
}
|
||||
|
||||
if (icc_file)
|
||||
{
|
||||
fclose(icc_file);
|
||||
}
|
||||
|
||||
free_ifd (ifd);
|
||||
}
|
||||
|
||||
|
@ -570,6 +575,11 @@ write_tiff_color_header (FILE *fptr, int width, int height, int depth,
|
|||
}
|
||||
}
|
||||
|
||||
if (icc_file)
|
||||
{
|
||||
fclose(icc_file);
|
||||
}
|
||||
|
||||
free_ifd (ifd);
|
||||
}
|
||||
|
||||
|
|
Ładowanie…
Reference in New Issue