aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorXavier Claessens <xclaesse@src.gnome.org>2009-01-31 01:34:13 +0800
committerXavier Claessens <xclaesse@src.gnome.org>2009-01-31 01:34:13 +0800
commitcb5531d0bbc6ea22430f748814bfe92516fc1c1a (patch)
treeca2def95b033f4886b9fbedc5572bcf644742046
parentccc35b02c520b7c468bbd87059d66a5b5bc6149f (diff)
downloadgsoc2013-empathy-cb5531d0bbc6ea22430f748814bfe92516fc1c1a.tar
gsoc2013-empathy-cb5531d0bbc6ea22430f748814bfe92516fc1c1a.tar.gz
gsoc2013-empathy-cb5531d0bbc6ea22430f748814bfe92516fc1c1a.tar.bz2
gsoc2013-empathy-cb5531d0bbc6ea22430f748814bfe92516fc1c1a.tar.lz
gsoc2013-empathy-cb5531d0bbc6ea22430f748814bfe92516fc1c1a.tar.xz
gsoc2013-empathy-cb5531d0bbc6ea22430f748814bfe92516fc1c1a.tar.zst
gsoc2013-empathy-cb5531d0bbc6ea22430f748814bfe92516fc1c1a.zip
unref contact list store on dispose
svn path=/trunk/; revision=2326
-rw-r--r--libempathy-gtk/empathy-contact-selector.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/libempathy-gtk/empathy-contact-selector.c b/libempathy-gtk/empathy-contact-selector.c
index ec3a837bb..f816bfee0 100644
--- a/libempathy-gtk/empathy-contact-selector.c
+++ b/libempathy-gtk/empathy-contact-selector.c
@@ -336,7 +336,11 @@ empathy_contact_selector_get_property (GObject *object,
static void
empathy_contact_selector_dispose (GObject *object)
{
+ EmpathyContactSelector *selector = EMPATHY_CONTACT_SELECTOR (object);
+ EmpathyContactSelectorPriv *priv = GET_PRIV (selector);
+
g_debug ("EmpathyContactSelector - dispose: %p", object);
+ g_object_unref (priv->store);
(G_OBJECT_CLASS (empathy_contact_selector_parent_class)->dispose) (object);
}