summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJasper St. Pierre <jstpierre@mecheye.net>2011-12-18 23:20:04 -0500
committerJasper St. Pierre <jstpierre@mecheye.net>2011-12-19 09:46:44 -0500
commitb882fcd8258f02a968dca381e498a3f1877bda5c (patch)
treead5e42460cbc3dc8f70429b22bff7ff2ba5f6323
parent20bc5c2057f8bad1910c64e8ee49b6b798fbe8bc (diff)
downloadclutter-b882fcd8258f02a968dca381e498a3f1877bda5c.tar.gz
clutter-text: Fix memory leak
-rw-r--r--clutter/clutter-text.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/clutter/clutter-text.c b/clutter/clutter-text.c
index 84c191650..8333f5c8c 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)