Mercurial > pidgin
changeset 30046:e471c1fb9c49
It's probably a good idea to free the direct connection when the slplink
goes away, too.
author | Elliott Sales de Andrade <qulogic@pidgin.im> |
---|---|
date | Wed, 05 May 2010 07:15:55 +0000 |
parents | 63684aa5d6ab |
children | 6936ffd13cb9 |
files | libpurple/protocols/msn/slplink.c |
diffstat | 1 files changed, 2 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- 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);