Commit fbf45952 authored by Giovanni Campagna's avatar Giovanni Campagna Committed by Emmanuele Bassi

ClutterAnimation: fix memory leak

We need to unref the timeline
(cherry picked from commit c167d3a4)
Signed-off-by: 's avatarEmmanuele Bassi <>
parent 8f96cfcf
......@@ -305,6 +305,12 @@ clutter_animation_dispose (GObject *gobject)
priv->timeline_completed_id = 0;
priv->timeline_frame_id = 0;
if (priv->timeline != NULL)
g_object_unref (priv->timeline);
priv->timeline = NULL;
if (priv->alpha != NULL)
g_object_unref (priv->alpha);
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment