From c30bc2459bfdbd29f5607e48c9d94f1476defc80 Mon Sep 17 00:00:00 2001 From: Guillaume Desmottes Date: Mon, 15 Mar 2010 10:25:42 +0100 Subject: contact-selector-dialog: unref filter_account when disposing --- libempathy-gtk/empathy-contact-selector-dialog.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'libempathy-gtk') 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); -- cgit v1.2.3