Mercurial > pidgin
diff libpurple/protocols/yahoo/yahoo.c @ 26725: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 | 25e01fe7b732 |
children | 885320258863 0b97f73fa3d2 b2b1fa27047a |
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;