From cf09967694336a3bd6120c5f3b1004272ed34183 Mon Sep 17 00:00:00 2001 From: Xavier Claessens Date: Fri, 9 Jan 2009 16:16:55 +0000 Subject: mission_control_get_tpconnection returns a new ref, don't forget to unref the connection. svn path=/trunk/; revision=2216 --- libempathy/empathy-dispatcher.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libempathy/empathy-dispatcher.c b/libempathy/empathy-dispatcher.c index c1b023713..6f5639b1e 100644 --- a/libempathy/empathy-dispatcher.c +++ b/libempathy/empathy-dispatcher.c @@ -795,6 +795,8 @@ dispatcher_update_account (EmpathyDispatcher *dispatcher, McAccount *account) tp_connection_call_when_ready (connection, dispatcher_connection_ready_cb, dispatcher); + + g_object_unref (connection); } static void -- cgit v1.2.3