changeset 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 bd981bf1a663
children 1c2f284986b7
files src/protocols/yahoo/yahoo.c
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/protocols/yahoo/yahoo.c	Tue Feb 28 01:27:12 2006 +0000
+++ b/src/protocols/yahoo/yahoo.c	Tue Feb 28 01:30:01 2006 +0000
@@ -2652,6 +2652,7 @@
 		ycht_connection_close(yd->ycht);
 
 	g_free(yd);
+	gc->proto_data = NULL;
 }
 
 static const char *yahoo_list_icon(GaimAccount *a, GaimBuddy *b)