pidgin: c0ad3732: Fix a crash when sending too large a mes...

sadrul at pidgin.im sadrul at pidgin.im
Tue Apr 28 14:56:14 EDT 2009


-----------------------------------------------------------------
Revision: c0ad3732e2de434e21818fa9169f9b6835945f74
Ancestor: 6b5084da4501a491dab88006847c4e99fd4ce044
Author: sadrul at pidgin.im
Date: 2009-04-28T18:57:16
Branch: im.pidgin.pidgin
URL: http://d.pidgin.im/viewmtn/revision/info/c0ad3732e2de434e21818fa9169f9b6835945f74

Modified files:
        libpurple/protocols/yahoo/yahoo.c

ChangeLog: 

Fix a crash when sending too large a message in yahoo.

-------------- next part --------------
============================================================
--- libpurple/protocols/yahoo/yahoo.c	c0395e8d1d608fee8c6109357b8d0873bf6f3abb
+++ libpurple/protocols/yahoo/yahoo.c	e55a2de00eb1107425a90f982389ed96af3ae3fb
@@ -4482,7 +4482,6 @@ static int yahoo_send_im(PurpleConnectio
 					" 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;


More information about the Commits mailing list