1
0
mirror of https://github.com/brl/mutter.git synced 2025-05-24 15:44:56 +00:00

[text] Do not leak the effective attributes

Thanks to Iain Holmes for catching the leak.
This commit is contained in:
Emmanuele Bassi 2009-06-10 16:23:35 +01:00
parent eca73fe6c7
commit df839e22e6

@ -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;
}