libpurple/protocols/oscar/oscar_data.c

changeset 27385
cd0d721fec8f
parent 25527
12740b20d91f
child 30662
6ed7eb99af97
equal deleted inserted replaced
27384:fc5d4e232209 27385:cd0d721fec8f
68 /* missing 0x11 - 0x12 */ 68 /* missing 0x11 - 0x12 */
69 aim__registermodule(od, ssi_modfirst); 69 aim__registermodule(od, ssi_modfirst);
70 /* missing 0x14 */ 70 /* missing 0x14 */
71 aim__registermodule(od, icq_modfirst); 71 aim__registermodule(od, icq_modfirst);
72 /* missing 0x16 */ 72 /* missing 0x16 */
73 /* auth_modfirst is only needed if we're connecting with the old-style BUCP login */
73 aim__registermodule(od, auth_modfirst); 74 aim__registermodule(od, auth_modfirst);
74 aim__registermodule(od, email_modfirst); 75 aim__registermodule(od, email_modfirst);
75 76
76 return od; 77 return od;
77 } 78 }
83 */ 84 */
84 void 85 void
85 oscar_data_destroy(OscarData *od) 86 oscar_data_destroy(OscarData *od)
86 { 87 {
87 aim_cleansnacs(od, -1); 88 aim_cleansnacs(od, -1);
89
90 /* Only used when connecting with clientLogin */
91 if (od->url_data != NULL)
92 purple_util_fetch_url_cancel(od->url_data);
88 93
89 while (od->requesticon) 94 while (od->requesticon)
90 { 95 {
91 g_free(od->requesticon->data); 96 g_free(od->requesticon->data);
92 od->requesticon = g_slist_delete_link(od->requesticon, od->requesticon); 97 od->requesticon = g_slist_delete_link(od->requesticon, od->requesticon);

mercurial