[empathy/gnome-2-34] accounts: release our ref on the TpDBusDaemon



commit 0289a301599c10bdf5a1946276ed62bd3bfe93bc
Author: Guillaume Desmottes <guillaume desmottes collabora co uk>
Date:   Thu Feb 17 12:55:00 2011 +0100

    accounts: release our ref on the TpDBusDaemon

 src/empathy-accounts.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/src/empathy-accounts.c b/src/empathy-accounts.c
index 788bc89..0b44b6d 100644
--- a/src/empathy-accounts.c
+++ b/src/empathy-accounts.c
@@ -117,6 +117,7 @@ account_manager_ready_for_accounts_cb (GObject *source_object,
       if ((account = tp_account_new (bus, account_path, &error)))
         {
           tp_account_prepare_async (account, NULL, account_prepare_cb, manager);
+          g_object_unref (bus);
           return;
         }
       else



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]