Commit 638056b7 authored by Xavier Claessens's avatar Xavier Claessens

unref store once only

svn path=/trunk/; revision=2328
parent c7676f65
......@@ -339,7 +339,11 @@ empathy_contact_selector_dispose (GObject *object)
EmpathyContactSelector *selector = EMPATHY_CONTACT_SELECTOR (object);
EmpathyContactSelectorPriv *priv = GET_PRIV (selector);
g_object_unref (priv->store);
if (priv->store)
{
g_object_unref (priv->store);
priv->store = NULL;
}
(G_OBJECT_CLASS (empathy_contact_selector_parent_class)->dispose) (object);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment