diff --git a/clutter/clutter-actor.c b/clutter/clutter-actor.c index 2466351d7..20c738c46 100644 --- a/clutter/clutter-actor.c +++ b/clutter/clutter-actor.c @@ -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);