It's probably a good idea to free the direct connection when the slplink

Wed, 05 May 2010 07:15:55 +0000

author
Elliott Sales de Andrade <qulogic@pidgin.im>
date
Wed, 05 May 2010 07:15:55 +0000
changeset 30099
39b378ac4fc8
parent 30098
b18dd95fe141
child 30100
3382aeef1a88

It's probably a good idea to free the direct connection when the slplink
goes away, too.

libpurple/protocols/msn/slplink.c file | annotate | diff | comparison | revisions
--- a/libpurple/protocols/msn/slplink.c	Wed May 05 07:02:05 2010 +0000
+++ b/libpurple/protocols/msn/slplink.c	Wed May 05 07:15:55 2010 +0000
@@ -101,10 +101,8 @@
 
 	session = slplink->session;
 
-#if 0
-	if (slplink->directconn != NULL)
-		msn_directconn_destroy(slplink->directconn);
-#endif
+	if (slplink->dc != NULL)
+		msn_dc_destroy(slplink->dc);
 
 	while (slplink->slp_calls != NULL)
 		msn_slpcall_destroy(slplink->slp_calls->data);

mercurial