[telepathy-glib/master] tp_account_manager_dup: don't leak one ref to the starter dbus-daemon

Simon McVittie simon.mcvittie at collabora.co.uk
Thu Dec 3 08:00:35 PST 2009


---
 telepathy-glib/account-manager.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/telepathy-glib/account-manager.c b/telepathy-glib/account-manager.c
index b4e6a80..71c506e 100644
--- a/telepathy-glib/account-manager.c
+++ b/telepathy-glib/account-manager.c
@@ -902,6 +902,8 @@ tp_account_manager_dup (void)
   g_object_add_weak_pointer (starter_account_manager_proxy,
       &starter_account_manager_proxy);
 
+  g_object_unref (dbus);
+
   return starter_account_manager_proxy;
 }
 
-- 
1.5.6.5




More information about the telepathy-commits mailing list