close the file descriptor.

2006-03-24  Sven Neumann  <sven@gimp.org>

	* plug-ins/jpeg/jpeg-load.c (load_thumbnail_image): close the file
	descriptor.
This commit is contained in:
Sven Neumann 2006-03-24 12:42:14 +00:00 committed by Sven Neumann
parent 86eab9bf5e
commit 1a5a3fa05e
2 changed files with 7 additions and 0 deletions

View File

@ -1,3 +1,8 @@
2006-03-24 Sven Neumann <sven@gimp.org>
* plug-ins/jpeg/jpeg-load.c (load_thumbnail_image): close the file
descriptor.
2006-03-24 Sven Neumann <sven@gimp.org>
* plug-ins/common/mapcolor.c

View File

@ -924,6 +924,8 @@ load_thumbnail_image (const gchar *filename,
*/
jpeg_destroy_decompress (&cinfo);
fclose (infile);
if (exif_data)
{
exif_data_unref (exif_data);