comparison src/protocols/yahoo/yahoo.c @ 13343:3e87f0c5287d

[gaim-migrate @ 15713] SF Patch #1439873 from Sadrul "Open a conversation with someone in yahoo. Now with the conversation tab open, disconnect/reconnect or disable/enable the account a few times. Gaim may crash. This is because yahoo doesn't set the proto_data of the connection to NULL after it _close()es the connection. All other prpls (i looked in msn, oscar, jabber, sametime) set it to NULL after freeing the data." committer: Tailor Script <tailor@pidgin.im>
author Richard Laager <rlaager@wiktel.com>
date Tue, 28 Feb 2006 01:30:01 +0000
parents 263c2db78f77
children b6a63c9b0cb4
comparison
equal deleted inserted replaced
13342:bd981bf1a663 13343:3e87f0c5287d
2650 yahoo_buddy_icon_upload_data_free(yd->picture_upload_todo); 2650 yahoo_buddy_icon_upload_data_free(yd->picture_upload_todo);
2651 if (yd->ycht) 2651 if (yd->ycht)
2652 ycht_connection_close(yd->ycht); 2652 ycht_connection_close(yd->ycht);
2653 2653
2654 g_free(yd); 2654 g_free(yd);
2655 gc->proto_data = NULL;
2655 } 2656 }
2656 2657
2657 static const char *yahoo_list_icon(GaimAccount *a, GaimBuddy *b) 2658 static const char *yahoo_list_icon(GaimAccount *a, GaimBuddy *b)
2658 { 2659 {
2659 return "yahoo"; 2660 return "yahoo";