diff options
author | Simon McVittie <simon.mcvittie@collabora.co.uk> | 2011-02-22 16:31:02 +0000 |
---|---|---|
committer | Simon McVittie <simon.mcvittie@collabora.co.uk> | 2011-06-10 18:31:46 +0100 |
commit | 65de5fd80a1ab90ed9799caad8bc6c4955529bae (patch) | |
tree | b9615a8c102905c7e0e426bf5959fbce613f3ed4 | |
parent | 163d3b2154cb426f30077d6daaba2f777bb8bd1c (diff) | |
download | dbus-65de5fd80a1ab90ed9799caad8bc6c4955529bae.tar.gz |
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
-rw-r--r-- | test/loopback.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/test/loopback.c b/test/loopback.c index 0567edbe..0c5cd1a2 100644 --- a/test/loopback.c +++ b/test/loopback.c @@ -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 |