Mercurial > pidgin
changeset 17127:9c8172ddc72d
Fix a leak of the string in each Direct IM message, reported by jas8522 in AdiumTicket:#6982
author | Evan Schoenberg <evan.s@dreskin.net> |
---|---|
date | Fri, 18 May 2007 15:18:32 +0000 |
parents | 7f00fb7f18b5 |
children | 3e463ddf18f7 14d10dc7c482 63a09098b0e8 68f634d5f5f5 |
files | libpurple/protocols/oscar/oscar.c |
diffstat | 1 files changed, 1 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- 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) {