File bnc#775433-05-file-cel-close-file-on-error.patch of Package gimp

From 49c1af36b360ba85c86f71509fcba77eef7c6f22 Mon Sep 17 00:00:00 2001
From: Nils Philippsen <nils@redhat.com>
Date: Fri, 13 Jul 2012 15:47:16 +0200
Subject: [PATCH 5/5] file-cel: close file on error

---
 plug-ins/common/file-cel.c |    1 +
 1 file changed, 1 insertion(+)

diff --git a/plug-ins/common/file-cel.c b/plug-ins/common/file-cel.c
index 39d2d7b..3357561 100644
--- a/plug-ins/common/file-cel.c
+++ b/plug-ins/common/file-cel.c
@@ -427,6 +427,7 @@ load_image (const gchar  *file,
   if (image == -1)
     {
       g_set_error (error, 0, 0, _("Can't create a new image"));
+      fclose (fp);
       return -1;
     }
 
-- 
1.7.10.4