changeset 25854:e7f0570f01cf

applied changes from 6b5084da4501a491dab88006847c4e99fd4ce044 through c0ad3732e2de434e21818fa9169f9b6835945f74 Add ChangeLog for the above.
author Ethan Blanton <elb@pidgin.im>
date Tue, 28 Apr 2009 20:46:53 +0000
parents e0c8f689f60c
children 96e54eb6100a
files ChangeLog libpurple/protocols/yahoo/yahoo.c
diffstat 2 files changed, 3 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog	Tue Apr 28 20:41:37 2009 +0000
+++ b/ChangeLog	Tue Apr 28 20:46:53 2009 +0000
@@ -6,7 +6,9 @@
 	  channels.
 	* Notify the user if a /nick command fails, rather than trying
 	  fallback nicks.
-	
+
+	Yahoo:
+	* Fix a crash when sending very long messages.
 
 version 2.5.5 (03/01/2009):
 	libpurple:
--- a/libpurple/protocols/yahoo/yahoo.c	Tue Apr 28 20:41:37 2009 +0000
+++ b/libpurple/protocols/yahoo/yahoo.c	Tue Apr 28 20:46:53 2009 +0000
@@ -3640,7 +3640,6 @@
 					" bytes, %ld characters.  Max is %d bytes, %d chars."
 					"  Message is '%s'.\n", lenb, lenc, YAHOO_MAX_MESSAGE_LENGTH_BYTES,
 					YAHOO_MAX_MESSAGE_LENGTH_CHARS, msg2);
-			yahoo_packet_free(pkt);
 			g_free(msg);
 			g_free(msg2);
 			return -E2BIG;