[empathy] empathy.c: Initialise variable (#609030)



commit 47ce699f4a9b8bd726330c39995f508fa819b85d
Author: Danielle Madeley <danielle madeley collabora co uk>
Date:   Tue Feb 2 14:24:42 2010 +1100

    empathy.c: Initialise variable (#609030)
    
    Fixes bug introduced in 24db41f217eea1cbf929cc3e623c50ca626db4b

 src/empathy.c |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/src/empathy.c b/src/empathy.c
index f272ecf..b520790 100644
--- a/src/empathy.c
+++ b/src/empathy.c
@@ -374,8 +374,12 @@ do_show_accounts_ui (GtkWindow *window,
     {
       EmpathyConnectionManagers *cm_mgr;
 
+      cm_mgr = empathy_connection_managers_dup_singleton ();
+
       empathy_connection_managers_prepare_async (cm_mgr,
           connection_managers_prepare_for_accounts, NULL);
+
+      g_object_unref (cm_mgr);
     }
 }
 



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