mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-12-25 15:06:14 +01:00
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. https://bugzilla.gnome.org/show_bug.cgi?id=736810
This commit is contained in:
parent
59a996db9b
commit
a4012abbdf
@ -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)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user