pidgin: 9b484f7e: It's probably a good idea to free the di...

qulogic at pidgin.im qulogic at pidgin.im
Fri May 21 18:04:08 EDT 2010


-----------------------------------------------------------------
Revision: 9b484f7e3599dd3e85b6c482596391fdb2c21194
Ancestor: 9891ce761ca29551e7f392f0dd4e2b291cdf917b
Author: qulogic at pidgin.im
Date: 2010-05-05T07:15:55
Branch: im.pidgin.pidgin
URL: http://d.pidgin.im/viewmtn/revision/info/9b484f7e3599dd3e85b6c482596391fdb2c21194

Modified files:
        libpurple/protocols/msn/slplink.c

ChangeLog: 

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

-------------- next part --------------
============================================================
--- libpurple/protocols/msn/slplink.c	8580024d5476b42834aaa369a6ad3703561b6a65
+++ libpurple/protocols/msn/slplink.c	cb866df825e70c119e10dc92102ba5eb58b12c6e
@@ -101,10 +101,8 @@ msn_slplink_destroy(MsnSlpLink *slplink)
 
 	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);


More information about the Commits mailing list