[Telepathy-commits] [telepathy-gabble/master] bytestream_activate_next: use g_list_delete_link instead of g_list_remove_link as link has to be freed

Guillaume Desmottes guillaume.desmottes at collabora.co.uk
Tue Jan 6 08:41:41 PST 2009


---
 src/bytestream-multiple.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/bytestream-multiple.c b/src/bytestream-multiple.c
index 7eee670..31b94f2 100644
--- a/src/bytestream-multiple.c
+++ b/src/bytestream-multiple.c
@@ -537,7 +537,7 @@ bytestream_activate_next (GabbleBytestreamMultiple *self)
 
   /* Try the first stream method in the fallback list */
   stream_method = priv->fallback_stream_methods->data;
-  priv->fallback_stream_methods = g_list_remove_link (
+  priv->fallback_stream_methods = g_list_delete_link (
       priv->fallback_stream_methods, priv->fallback_stream_methods);
 
   priv->active_bytestream = gabble_bytestream_factory_create_from_method (
-- 
1.5.6.5




More information about the Telepathy-commits mailing list