Fri, 18 May 2007 15:18:32 +0000
Fix a leak of the string in each Direct IM message, reported by jas8522 in AdiumTicket:#6982
| libpurple/protocols/oscar/oscar.c | file | annotate | diff | comparison | revisions |
--- 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) {