[text] Do not leak the effective attributes
Thanks to Iain Holmes for catching the leak.
This commit is contained in:
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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user