actor: Dispose all constrains

We are leaking the ClutterMetaGroup with all the constraints when
disposing an Actor.
This commit is contained in:
Emmanuele Bassi 2010-09-26 16:52:58 +01:00
parent fda1f3a8ba
commit 43e85836b4

View File

@ -3138,6 +3138,12 @@ clutter_actor_dispose (GObject *object)
priv->actions = NULL;
}
if (priv->constraints != NULL)
{
g_object_unref (priv->constraints);
priv->constraints = NULL;
}
if (priv->effects != NULL)
{
g_object_unref (priv->effects);