mirror of
https://github.com/brl/mutter.git
synced 2025-02-18 14:14:10 +00:00
actor: Dispose all constrains
We are leaking the ClutterMetaGroup with all the constraints when disposing an Actor.
This commit is contained in:
parent
fda1f3a8ba
commit
43e85836b4
@ -3138,6 +3138,12 @@ clutter_actor_dispose (GObject *object)
|
|||||||
priv->actions = NULL;
|
priv->actions = NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (priv->constraints != NULL)
|
||||||
|
{
|
||||||
|
g_object_unref (priv->constraints);
|
||||||
|
priv->constraints = NULL;
|
||||||
|
}
|
||||||
|
|
||||||
if (priv->effects != NULL)
|
if (priv->effects != NULL)
|
||||||
{
|
{
|
||||||
g_object_unref (priv->effects);
|
g_object_unref (priv->effects);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user