[clutter] clutter-text: Fix memory leak



commit b882fcd8258f02a968dca381e498a3f1877bda5c
Author: Jasper St. Pierre <jstpierre mecheye net>
Date:   Sun Dec 18 23:20:04 2011 -0500

    clutter-text: Fix memory leak

 clutter/clutter-text.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/clutter/clutter-text.c b/clutter/clutter-text.c
index 84c1916..8333f5c 100644
--- a/clutter/clutter-text.c
+++ b/clutter/clutter-text.c
@@ -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)



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