clutter-text: Fix memory leak
authorJasper St. Pierre <jstpierre@mecheye.net>
Mon, 19 Dec 2011 04:20:04 +0000 (23:20 -0500)
committerJasper St. Pierre <jstpierre@mecheye.net>
Mon, 19 Dec 2011 14:46:44 +0000 (09:46 -0500)
clutter/clutter-text.c

index 84c1916..8333f5c 100644 (file)
@@ -425,6 +425,8 @@ clutter_text_ensure_effective_attributes (ClutterText *self)
                   g_slist_free (attributes);
                 }
               while (pango_attr_iterator_next (iter));
+
+              pango_attr_iterator_destroy (iter);
             }
         }
       else if (priv->markup_attrs != NULL)