Commit c167d3a4 authored by Giovanni Campagna's avatar Giovanni Campagna

ClutterAnimation: fix memory leak

We need to unref the timeline

https://bugzilla.gnome.org/show_bug.cgi?id=733300
parent f6fd0297
......@@ -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