[Telepathy-commits] [telepathy-salut/master] ft-manager: initialize the channels list to NULL as we start with an empty list

Guillaume Desmottes guillaume.desmottes at collabora.co.uk
Fri Nov 21 03:46:49 PST 2008


---
 src/salut-ft-manager.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/salut-ft-manager.c b/src/salut-ft-manager.c
index 5251083..ecd499c 100644
--- a/src/salut-ft-manager.c
+++ b/src/salut-ft-manager.c
@@ -85,7 +85,7 @@ salut_ft_manager_init (SalutFtManager *obj)
   priv->connection = NULL;
 
   /* allocate any data required by the object here */
-  priv->channels = g_list_alloc ();
+  priv->channels = NULL;
 }
 
 static gboolean
-- 
1.5.6.5




More information about the Telepathy-commits mailing list