# HG changeset patch # User Elliott Sales de Andrade # Date 1273043755 0 # Node ID e471c1fb9c49ae5671c07fc2b7be47a98d2ec35e # Parent 63684aa5d6ab75a50092e286ab8c80c9d9400e7e It's probably a good idea to free the direct connection when the slplink goes away, too. diff -r 63684aa5d6ab -r e471c1fb9c49 libpurple/protocols/msn/slplink.c --- 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);