Mercurial > pidgin
diff libpurple/protocols/oscar/oscar.c @ 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 | 84b7a625512e |
children | 2e4e3c3028ae |
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) {