diff libgaim/protocols/qq/group_network.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 6b8bc59414f0
children c039c920e11c
line wrap: on
line diff
--- a/libgaim/protocols/qq/group_network.c	Fri Sep 29 20:49:33 2006 +0000
+++ b/libgaim/protocols/qq/group_network.c	Sat Sep 30 00:14:00 2006 +0000
@@ -94,8 +94,12 @@
 /* default process, dump only */
 static void _qq_process_group_cmd_reply_default(guint8 *data, guint8 **cursor, gint len, GaimConnection *gc)
 {
+	gchar *hex_dump;
 	g_return_if_fail(data != NULL && len > 0);
-	gaim_debug(GAIM_DEBUG_INFO, "QQ", "Dump unprocessed group cmd reply:\n%s", hex_dump_to_str(data, len));
+
+	hex_dump = hex_dump_to_str(data, len);
+	gaim_debug(GAIM_DEBUG_INFO, "QQ", "Dump unprocessed group cmd reply:\n%s", hex_dump);
+	g_free(hex_dump);
 }
 
 /* The lower layer command of send group cmd */