From: Simon McVittie Date: Tue, 22 Feb 2011 16:31:02 +0000 (+0000) Subject: loopback test: unref messages after use X-Git-Tag: dbus-1.4.12~20 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=65de5fd80a1ab90ed9799caad8bc6c4955529bae;p=thirdparty%2Fdbus.git loopback test: unref messages after use Reviewed-by: Will Thompson Bug: https://bugs.freedesktop.org/show_bug.cgi?id=34570 --- diff --git a/test/loopback.c b/test/loopback.c index 0567edbee..0c5cd1a29 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