From: Xavier Claessens Date: Fri, 9 Jan 2009 16:16:55 +0000 (+0000) Subject: mission_control_get_tpconnection returns a new ref, don't forget to unref the connection. X-Git-Url: https://git.0d.be/?p=empathy.git;a=commitdiff_plain;h=cf09967694336a3bd6120c5f3b1004272ed34183 mission_control_get_tpconnection returns a new ref, don't forget to unref the connection. svn path=/trunk/; revision=2216 --- diff --git a/libempathy/empathy-dispatcher.c b/libempathy/empathy-dispatcher.c index c1b02371..6f5639b1 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