[gimp/gimp-2-8] file-bmp: don't close foreign FD in ReadImage()



commit e803f1930ff26d5d2bb0716d8937b3ef53d6b235
Author: Nils Philippsen <nils redhat com>
Date:   Fri Nov 8 14:02:03 2013 +0100

    file-bmp: don't close foreign FD in ReadImage()
    
    (cherry picked from commit 4664c1f479e7768d08ed5198bed2251e6aa0464c)

 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 0055e67..e59dfb8 100644
--- a/plug-ins/file-bmp/bmp-read.c
+++ b/plug-ins/file-bmp/bmp-read.c
@@ -920,7 +920,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]