[telepathy-gabble/telepathy-gabble-0.8] add_proxy_to_list: free the oldest proxy once removed

Guillaume Desmottes guillaume.desmottes at collabora.co.uk
Fri Dec 4 08:46:18 PST 2009


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

diff --git a/src/bytestream-factory.c b/src/bytestream-factory.c
index 16cd3b0..69264ae 100644
--- a/src/bytestream-factory.c
+++ b/src/bytestream-factory.c
@@ -287,6 +287,7 @@ add_proxy_to_list (GabbleBytestreamFactory *self,
               oldest->jid);
 
           *list = g_slist_delete_link (*list, last);
+          gabble_socks5_proxy_free (oldest);
         }
     }
 
-- 
1.5.6.5




More information about the telepathy-commits mailing list