background: Fix double-free when closing the dialog

9955f17d introduced a double-free.
This commit is contained in:
Bastien Nocera 2013-10-02 19:26:09 +02:00
parent b9e3603ba4
commit ca77b20062

View file

@ -798,7 +798,6 @@ cc_background_item_finalize (GObject *object)
g_free (item->priv->size); g_free (item->priv->size);
g_free (item->priv->source_url); g_free (item->priv->source_url);
g_free (item->priv->source_xml); g_free (item->priv->source_xml);
g_free (item->priv->mime_type);
if (item->priv->bg != NULL) if (item->priv->bg != NULL)
g_object_unref (item->priv->bg); g_object_unref (item->priv->bg);