Commit a4012abb authored by Christophe Fergeau's avatar Christophe Fergeau Committed by Colin Walters

gdbus: Fix leak in g_dbus_message_print()

This leak only happens when using G_DBUS_DEBUG=message or similar, but
it's nicer to be valgrind-clean even in these cases.
parent 59a996db
......@@ -3444,6 +3444,7 @@ g_dbus_message_print (GDBusMessage *message,
g_string_append_printf (str, "%*s (none)\n", indent, "");
g_list_free (keys);
g_string_append_printf (str, "%*sBody: ", indent, "");
if (message->body != NULL)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment