]> git.0d.be Git - empathy.git/commitdiff
contact-selector-dialog: unref filter_account when disposing
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>
Mon, 15 Mar 2010 09:25:42 +0000 (10:25 +0100)
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>
Mon, 15 Mar 2010 09:25:42 +0000 (10:25 +0100)
libempathy-gtk/empathy-contact-selector-dialog.c

index 056890b26be003f9bcb29a9f20e28ea28dd7ce1a..11e4dd82ada07430e1b8e21b7d0229631b71e0f6 100644 (file)
@@ -448,6 +448,11 @@ empathy_contact_selector_dialog_dispose (GObject *object)
     priv->contact_manager = NULL;
   }
 
+  if (priv->filter_account != NULL) {
+    g_object_unref (priv->filter_account);
+    priv->filter_account = NULL;
+  }
+
   if (G_OBJECT_CLASS (empathy_contact_selector_dialog_parent_class)->dispose)
     G_OBJECT_CLASS (empathy_contact_selector_dialog_parent_class)->dispose (
         object);