diff --git a/clutter/deprecated/clutter-animation.c b/clutter/deprecated/clutter-animation.c index e0932b553..06a8f8d42 100644 --- a/clutter/deprecated/clutter-animation.c +++ b/clutter/deprecated/clutter-animation.c @@ -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);