diff --git a/clutter/clutter-actor.c b/clutter/clutter-actor.c index 992ffde0b..7b550e9e9 100644 --- a/clutter/clutter-actor.c +++ b/clutter/clutter-actor.c @@ -1937,6 +1937,12 @@ clutter_actor_dispose (GObject *object) destroy_shader_data (self); + if (priv->pango_context) + { + g_object_unref (priv->pango_context); + priv->pango_context = NULL; + } + g_signal_emit (self, actor_signals[DESTROY], 0); G_OBJECT_CLASS (clutter_actor_parent_class)->dispose (object);