shell: Fix another memleak in CcNotebook

This commit is contained in:
Bastien Nocera 2012-05-11 12:21:37 +01:00
parent 2ea396cee3
commit dbfd9ecb59

View file

@ -114,6 +114,9 @@ cc_notebook_finalize (GObject *gobject)
g_list_free_full (self->priv->removed_pages, (GDestroyNotify) g_free);
self->priv->removed_pages = NULL;
g_list_free (self->priv->pages);
self->priv->pages = NULL;
G_OBJECT_CLASS (cc_notebook_parent_class)->finalize (gobject);
}