[gimp] Bug 749406 - Displace segfaults on launch



commit 90273fb57bf945778232e5db7e43c5f4d6677426
Author: Massimo Valentini <mvalentini src gnome org>
Date:   Sun Jun 21 18:10:22 2015 +0200

    Bug 749406 - Displace segfaults on launch

 libgimp/gimpitemcombobox.c |   24 ++++++++++++------------
 1 files changed, 12 insertions(+), 12 deletions(-)
---
diff --git a/libgimp/gimpitemcombobox.c b/libgimp/gimpitemcombobox.c
index d5825ba..393be18 100644
--- a/libgimp/gimpitemcombobox.c
+++ b/libgimp/gimpitemcombobox.c
@@ -483,19 +483,19 @@ gimp_item_combo_box_model_add (GimpIntComboBox *combo_box,
             g_object_unref (thumb);
 
           g_free (label);
+        }
 
-          if (gimp_item_is_group (items[i]))
-            {
-              gint32 *children;
-              gint    n_children;
-
-              children = gimp_item_get_children (items[i], &n_children);
-              gimp_item_combo_box_model_add (combo_box, store,
-                                             image,
-                                             n_children, children,
-                                             tree_level + 1);
-              g_free (children);
-            }
+      if (gimp_item_is_group (items[i]))
+        {
+          gint32 *children;
+          gint    n_children;
+
+          children = gimp_item_get_children (items[i], &n_children);
+          gimp_item_combo_box_model_add (combo_box, store,
+                                         image,
+                                         n_children, children,
+                                         tree_level + 1);
+          g_free (children);
         }
     }
 


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