2008-07-30 Ross Burton <ross@openedhand.com>

* clutter/clutter-main.c:
	Destroy the debugging timer when the context is freed.

	* clutter/clutter-stage.c:
	Free the stage title when the stage is finalized.
This commit is contained in:
Ross Burton 2008-07-30 15:01:37 +00:00
parent d6496254d6
commit 56be7fb7ea
3 changed files with 16 additions and 0 deletions

View File

@ -1,3 +1,11 @@
2008-07-30 Ross Burton <ross@openedhand.com>
* clutter/clutter-main.c:
Destroy the debugging timer when the context is freed.
* clutter/clutter-stage.c:
Free the stage title when the stage is finalized.
2008-07-30 Neil Roberts <neil@o-hand.com>
* clutter/clutter-model.c (clutter_model_set_sorting_column): This

View File

@ -408,6 +408,10 @@ clutter_context_free (ClutterMainContext *context)
g_object_unref (context->font_map);
context->font_map = NULL;
#ifdef CLUTTER_ENABLE_DEBUG
g_timer_destroy (context->timer);
#endif
/* XXX: The cleaning up of the event queue should be moved here from
the backend base class. */

View File

@ -478,6 +478,10 @@ clutter_stage_dispose (GObject *object)
static void
clutter_stage_finalize (GObject *object)
{
ClutterStage *stage = CLUTTER_STAGE (object);
g_free (stage->priv->title);
G_OBJECT_CLASS (clutter_stage_parent_class)->finalize (object);
}