]> git.0d.be Git - empathy.git/commitdiff
unref contact list store on dispose
authorXavier Claessens <xclaesse@src.gnome.org>
Fri, 30 Jan 2009 17:34:13 +0000 (17:34 +0000)
committerXavier Claessens <xclaesse@src.gnome.org>
Fri, 30 Jan 2009 17:34:13 +0000 (17:34 +0000)
svn path=/trunk/; revision=2326

libempathy-gtk/empathy-contact-selector.c

index ec3a837bb4e4caef68b8401a2a186250c596a71a..f816bfee0ae029af2f723a913567a01ccda45b48 100644 (file)
@@ -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);
 }