Mercurial > pidgin.yaz
comparison libpurple/protocols/msn/slpmsg.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 | 44b4e8bd759b |
children | 4de9cd2a4af2 |
comparison
equal
deleted
inserted
replaced
22807:0b11895cc564 | 22808:f62a4a7fe365 |
---|---|
93 | 93 |
94 msg->ack_cb = NULL; | 94 msg->ack_cb = NULL; |
95 msg->nak_cb = NULL; | 95 msg->nak_cb = NULL; |
96 msg->ack_data = NULL; | 96 msg->ack_data = NULL; |
97 } | 97 } |
98 g_list_free(slpmsg->msgs); | |
98 | 99 |
99 slplink->slp_msgs = g_list_remove(slplink->slp_msgs, slpmsg); | 100 slplink->slp_msgs = g_list_remove(slplink->slp_msgs, slpmsg); |
100 | 101 |
101 g_free(slpmsg); | 102 g_free(slpmsg); |
102 } | 103 } |