diff options
author | Guillaume Desmottes <guillaume.desmottes@collabora.co.uk> | 2010-03-15 17:25:42 +0800 |
---|---|---|
committer | Guillaume Desmottes <guillaume.desmottes@collabora.co.uk> | 2010-03-15 17:25:42 +0800 |
commit | c30bc2459bfdbd29f5607e48c9d94f1476defc80 (patch) | |
tree | 0adeda45fdfa0003285cc6b98cefe1fac5e5aa97 | |
parent | 00a119d8f895506897c86165c5b7592c3ff4f787 (diff) | |
download | gsoc2013-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.c | 5 |
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); |