aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy/empathy-contact-manager.c
diff options
context:
space:
mode:
Diffstat (limited to 'libempathy/empathy-contact-manager.c')
-rw-r--r--libempathy/empathy-contact-manager.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/libempathy/empathy-contact-manager.c b/libempathy/empathy-contact-manager.c
index 315ea2c7a..2e50a53bd 100644
--- a/libempathy/empathy-contact-manager.c
+++ b/libempathy/empathy-contact-manager.c
@@ -185,7 +185,12 @@ contact_manager_finalize (GObject *object)
contact_manager_disconnect_foreach,
object);
g_hash_table_destroy (priv->lists);
+
+ g_signal_handlers_disconnect_by_func (priv->account_manager,
+ contact_manager_connection_changed_cb,
+ object);
g_object_unref (priv->account_manager);
+
g_object_unref (priv->contact_monitor);
}