mirror of
https://github.com/brl/mutter.git
synced 2024-12-27 13:22:15 +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;
|
||||
}
|
||||
|
||||
if (priv->constraints != NULL)
|
||||
{
|
||||
g_object_unref (priv->constraints);
|
||||
priv->constraints = NULL;
|
||||
}
|
||||
|
||||
if (priv->effects != NULL)
|
||||
{
|
||||
g_object_unref (priv->effects);
|
||||
|
Loading…
Reference in New Issue
Block a user