From df839e22e6c5e5e323168fd4b336ff2b4df0fbcc Mon Sep 17 00:00:00 2001 From: Emmanuele Bassi Date: Wed, 10 Jun 2009 16:23:35 +0100 Subject: [PATCH] [text] Do not leak the effective attributes Thanks to Iain Holmes for catching the leak. --- clutter/clutter-text.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clutter/clutter-text.c b/clutter/clutter-text.c index 1dc72eb4e..407fca9eb 100644 --- a/clutter/clutter-text.c +++ b/clutter/clutter-text.c @@ -3273,7 +3273,7 @@ clutter_text_set_markup_internal (ClutterText *self, if (attrs) { if (priv->effective_attrs) - pango_attr_list_ref (priv->effective_attrs); + pango_attr_list_unref (priv->effective_attrs); priv->effective_attrs = attrs; }