Mercurial > pidgin.yaz
comparison libpurple/protocols/msn/slplink.c @ 22808:f62a4a7fe365
Fix a number of leaks. As far as I can tell, MSNP14 now logs in without
leaking.
author | Daniel Atallah <daniel.atallah@gmail.com> |
---|---|
date | Sat, 03 May 2008 23:51:43 +0000 |
parents | 05cb3f04c01e |
children | d04d24b1db9b 945bf99cb233 |
comparison
equal
deleted
inserted
replaced
22807:0b11895cc564 | 22808:f62a4a7fe365 |
---|---|
99 if (slplink->swboard != NULL) | 99 if (slplink->swboard != NULL) |
100 slplink->swboard->slplinks = g_list_remove(slplink->swboard->slplinks, slplink); | 100 slplink->swboard->slplinks = g_list_remove(slplink->swboard->slplinks, slplink); |
101 | 101 |
102 session = slplink->session; | 102 session = slplink->session; |
103 | 103 |
104 if (slplink->local_user != NULL) | 104 g_free(slplink->local_user); |
105 g_free(slplink->local_user); | 105 g_free(slplink->remote_user); |
106 | |
107 if (slplink->remote_user != NULL) | |
108 g_free(slplink->remote_user); | |
109 | 106 |
110 #if 0 | 107 #if 0 |
111 if (slplink->directconn != NULL) | 108 if (slplink->directconn != NULL) |
112 msn_directconn_destroy(slplink->directconn); | 109 msn_directconn_destroy(slplink->directconn); |
113 #endif | 110 #endif |