changeset 26807:53b4f6ba8523

Fix a crash when sending too large a message in yahoo.
author Sadrul Habib Chowdhury <imadil@gmail.com>
date Tue, 28 Apr 2009 18:57:16 +0000
parents 5325d2185e88
children 79584167519a f28cb84e1632
files libpurple/protocols/yahoo/yahoo.c
diffstat 1 files changed, 0 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/libpurple/protocols/yahoo/yahoo.c	Tue Apr 28 15:47:36 2009 +0000
+++ b/libpurple/protocols/yahoo/yahoo.c	Tue Apr 28 18:57:16 2009 +0000
@@ -4482,7 +4482,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;