From 86b661308e2efba2d61f787842cd2aa19e5f2260 Mon Sep 17 00:00:00 2001 From: Simon McVittie Date: Tue, 22 Feb 2011 16:31:02 +0000 Subject: [PATCH 6/7] loopback test: unref messages after use --- test/loopback.c | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/test/loopback.c b/test/loopback.c index ae50856..9d958aa 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 -- 1.7.4.1