# HG changeset patch # User Evan Schoenberg # Date 1179501512 0 # Node ID 9c8172ddc72dfc2d632a050586939182e90920d7 # Parent 7f00fb7f18b58b1a24667e37dcad3ca74d28148d Fix a leak of the string in each Direct IM message, reported by jas8522 in AdiumTicket:#6982 diff -r 7f00fb7f18b5 -r 9c8172ddc72d libpurple/protocols/oscar/oscar.c --- a/libpurple/protocols/oscar/oscar.c Fri May 18 12:48:03 2007 +0000 +++ b/libpurple/protocols/oscar/oscar.c Fri May 18 15:18:32 2007 +0000 @@ -4143,6 +4143,7 @@ conn->sn, msg->str, &tmp, &tmplen, &charset, &charsubset); g_string_free(msg, TRUE); msg = g_string_new_len(tmp, tmplen); + g_free(tmp); /* Append any binary data that we may have */ if (oscar_id) {