background: Fix memory leak in background item object
Some fields were never freed. https://bugzilla.gnome.org/show_bug.cgi?id=709243
This commit is contained in:
parent
ed589cd5b8
commit
9955f17dd4
1 changed files with 3 additions and 0 deletions
|
@ -796,6 +796,9 @@ cc_background_item_finalize (GObject *object)
|
|||
g_free (item->priv->secondary_color);
|
||||
g_free (item->priv->mime_type);
|
||||
g_free (item->priv->size);
|
||||
g_free (item->priv->source_url);
|
||||
g_free (item->priv->source_xml);
|
||||
g_free (item->priv->mime_type);
|
||||
|
||||
if (item->priv->bg != NULL)
|
||||
g_object_unref (item->priv->bg);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue