[gimp] app: add missing cleanup to the previous commit



commit f4e8cf29f27e7b07bd46ad4178c7447aa60d028e
Author: Ell <ell_se yahoo com>
Date:   Thu Jun 30 18:55:09 2016 +0000

    app: add missing cleanup to the previous commit

 app/core/gimpdrawable-bucket-fill.c |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)
---
diff --git a/app/core/gimpdrawable-bucket-fill.c b/app/core/gimpdrawable-bucket-fill.c
index 98ea706..d1058b1 100644
--- a/app/core/gimpdrawable-bucket-fill.c
+++ b/app/core/gimpdrawable-bucket-fill.c
@@ -128,6 +128,11 @@ gimp_drawable_bucket_fill (GimpDrawable         *drawable,
       else
         {
           /*  The fill region and the selection are disjoint; bail.  */
+
+          g_object_unref (mask_buffer);
+
+          gimp_unset_busy (image->gimp);
+
           return;
         }
     }


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]