mirror of
https://github.com/brl/mutter.git
synced 2025-06-14 09:19:31 +00:00
actor: Dispose all constrains
We are leaking the ClutterMetaGroup with all the constraints when disposing an Actor.
This commit is contained in:
@ -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);
|
||||||
|
Reference in New Issue
Block a user