mirror of
https://gitlab.freedesktop.org/dbus/dbus.git
synced 2026-06-19 10:48:31 +02:00
loopback test: unref messages after use
Reviewed-by: Will Thompson <will.thompson@collabora.co.uk> Bug: https://bugs.freedesktop.org/show_bug.cgi?id=34570
This commit is contained in:
parent
163d3b2154
commit
65de5fd80a
1 changed files with 4 additions and 0 deletions
|
|
@ -152,6 +152,10 @@ test_message (Fixture *f,
|
|||
g_assert_cmpstr (dbus_message_get_signature (incoming), ==, "");
|
||||
g_assert_cmpstr (dbus_message_get_path (incoming), ==, "/com/example/Hello");
|
||||
g_assert_cmpuint (dbus_message_get_serial (incoming), ==, serial);
|
||||
|
||||
dbus_message_unref (incoming);
|
||||
|
||||
dbus_message_unref (outgoing);
|
||||
}
|
||||
|
||||
static void
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue