aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2010-03-15 17:25:42 +0800
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2010-03-15 17:25:42 +0800
commitc30bc2459bfdbd29f5607e48c9d94f1476defc80 (patch)
tree0adeda45fdfa0003285cc6b98cefe1fac5e5aa97
parent00a119d8f895506897c86165c5b7592c3ff4f787 (diff)
downloadgsoc2013-empathy-c30bc2459bfdbd29f5607e48c9d94f1476defc80.tar
gsoc2013-empathy-c30bc2459bfdbd29f5607e48c9d94f1476defc80.tar.gz
gsoc2013-empathy-c30bc2459bfdbd29f5607e48c9d94f1476defc80.tar.bz2
gsoc2013-empathy-c30bc2459bfdbd29f5607e48c9d94f1476defc80.tar.lz
gsoc2013-empathy-c30bc2459bfdbd29f5607e48c9d94f1476defc80.tar.xz
gsoc2013-empathy-c30bc2459bfdbd29f5607e48c9d94f1476defc80.tar.zst
gsoc2013-empathy-c30bc2459bfdbd29f5607e48c9d94f1476defc80.zip
contact-selector-dialog: unref filter_account when disposing
-rw-r--r--libempathy-gtk/empathy-contact-selector-dialog.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/libempathy-gtk/empathy-contact-selector-dialog.c b/libempathy-gtk/empathy-contact-selector-dialog.c
index 056890b26..11e4dd82a 100644
--- a/libempathy-gtk/empathy-contact-selector-dialog.c
+++ b/libempathy-gtk/empathy-contact-selector-dialog.c
@@ -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);