[gimp] file-bmp: don't close foreign FD in ReadImage()
- From: Nils Philippsen <nphilipp src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp] file-bmp: don't close foreign FD in ReadImage()
- Date: Fri, 8 Nov 2013 13:03:22 +0000 (UTC)
commit 4664c1f479e7768d08ed5198bed2251e6aa0464c
Author: Nils Philippsen <nils redhat com>
Date: Fri Nov 8 14:02:03 2013 +0100
file-bmp: don't close foreign FD in ReadImage()
plug-ins/file-bmp/bmp-read.c | 1 -
1 files changed, 0 insertions(+), 1 deletions(-)
---
diff --git a/plug-ins/file-bmp/bmp-read.c b/plug-ins/file-bmp/bmp-read.c
index 4e36168..d029355 100644
--- a/plug-ins/file-bmp/bmp-read.c
+++ b/plug-ins/file-bmp/bmp-read.c
@@ -918,7 +918,6 @@ ReadImage (FILE *fd,
break;
}
- fclose (fd);
if (bpp <= 8)
for (i = 0, j = 0; i < ncols; i++)
{
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]