shell: Fix another memleak in CcNotebook
This commit is contained in:
parent
2ea396cee3
commit
dbfd9ecb59
1 changed files with 3 additions and 0 deletions
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue