Mercurial > pidgin
diff src/protocols/oscar/oscar_data.c @ 13597:4d8927a4f1ef
[gaim-migrate @ 15983]
Move a little bit of code to a better place
committer: Tailor Script <tailor@pidgin.im>
| author | Mark Doliner <mark@kingant.net> |
|---|---|
| date | Sun, 09 Apr 2006 17:33:25 +0000 |
| parents | 6519aeb66b31 |
| children | 6c34fbb75bbd |
line wrap: on
line diff
--- a/src/protocols/oscar/oscar_data.c Fri Apr 07 18:39:42 2006 +0000 +++ b/src/protocols/oscar/oscar_data.c Sun Apr 09 17:33:25 2006 +0000 @@ -92,6 +92,21 @@ { aim_cleansnacs(od, -1); + while (od->requesticon) + { + gchar *sn = od->requesticon->data; + od->requesticon = g_slist_remove(od->requesticon, sn); + g_free(sn); + } + g_free(od->email); + g_free(od->newp); + g_free(od->oldp); + if (od->icontimer > 0) + gaim_timeout_remove(od->icontimer); + if (od->getblisttimer > 0) + gaim_timeout_remove(od->getblisttimer); + if (od->getinfotimer > 0) + gaim_timeout_remove(od->getinfotimer); while (od->oscar_connections != NULL) flap_connection_destroy(od->oscar_connections->data); @@ -109,7 +124,8 @@ g_free(od); } -int oscar_data_addhandler(OscarData *od, guint16 family, guint16 type, aim_rxcallback_t newhandler, guint16 flags) +int +oscar_data_addhandler(OscarData *od, guint16 family, guint16 type, aim_rxcallback_t newhandler, guint16 flags) { SnacHandler *snac_handler;
