Mercurial > pidgin.yaz
diff libgaim/protocols/qq/im.c @ 14656:d1a76ccb93c4
[gaim-migrate @ 17402]
leak-be-gone
committer: Tailor Script <tailor@pidgin.im>
author | Mark Huetsch <markhuetsch> |
---|---|
date | Sat, 30 Sep 2006 00:14:00 +0000 |
parents | 108152f29f37 |
children | c039c920e11c |
line wrap: on
line diff
--- a/libgaim/protocols/qq/im.c Fri Sep 29 20:49:33 2006 +0000 +++ b/libgaim/protocols/qq/im.c Sat Sep 30 00:14:00 2006 +0000 @@ -327,6 +327,7 @@ gint bytes; qq_recv_normal_im_common *common; qq_recv_normal_im_unprocessed *im_unprocessed; + gchar *hex_dump; g_return_if_fail (data != NULL && len != 0); @@ -384,10 +385,9 @@ gaim_debug (GAIM_DEBUG_WARNING, "QQ", "Normal IM, unprocessed type [0x%04x]\n", common->normal_im_type); - gaim_debug (GAIM_DEBUG_WARNING, "QQ", - "Dump unknown part.\n%s", - hex_dump_to_str (im_unprocessed->unknown, - im_unprocessed->length)); + hex_dump = hex_dump_to_str(im_unprocessed->unknown, im_unprocessed->length); + gaim_debug (GAIM_DEBUG_WARNING, "QQ", "Dump unknown part.\n%s", hex_dump); + g_free(hex_dump); g_free (common->session_md5); return; }