Oliver Rauch: added fclose(icc_file) to stiff.c

DEVEL_2_0_BRANCH-1
Oliver Rauch 2002-11-29 17:06:36 +00:00
rodzic 356318fcd0
commit 31d6f428e1
2 zmienionych plików z 14 dodań i 0 usunięć

Wyświetl plik

@ -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

Wyświetl plik

@ -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);
}