Make sure all objects have been unreferenced before freeing pixbuf cache --
including copies in undo/redo stacks.
{
g_object_unref (G_OBJECT(label->priv->merge));
}
- gl_pixbuf_cache_free (label->priv->pixbuf_cache);
g_free (label->priv->default_font_family);
stack_clear (label->priv->undo_stack);
g_queue_free (label->priv->undo_stack);
g_queue_free (label->priv->redo_stack);
+ gl_pixbuf_cache_free (label->priv->pixbuf_cache);
+
g_free (label->priv);
G_OBJECT_CLASS (gl_label_parent_class)->finalize (object);