]> git.0d.be Git - empathy.git/commitdiff
empathy.c: Initialise variable (#609030)
authorDanielle Madeley <danielle.madeley@collabora.co.uk>
Tue, 2 Feb 2010 03:24:42 +0000 (14:24 +1100)
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>
Mon, 8 Feb 2010 10:23:13 +0000 (10:23 +0000)
Fixes bug introduced in 24db41f217eea1cbf929cc3e623c50ca626db4b

src/empathy.c

index f272ecfec1673b50c87714592c3abc8ddbd77175..b52079090007883af906145f26ed6f829362bb2f 100644 (file)
@@ -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);
     }
 }