projects
/
platform
/
upstream
/
dbus.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
163d3b2
)
loopback test: unref messages after use
author
Simon McVittie
<simon.mcvittie@collabora.co.uk>
Tue, 22 Feb 2011 16:31:02 +0000
(16:31 +0000)
committer
Simon McVittie
<simon.mcvittie@collabora.co.uk>
Fri, 10 Jun 2011 17:31:46 +0000
(18:31 +0100)
Reviewed-by: Will Thompson <will.thompson@collabora.co.uk>
Bug: https://bugs.freedesktop.org/show_bug.cgi?id=34570
test/loopback.c
patch
|
blob
|
history
diff --git
a/test/loopback.c
b/test/loopback.c
index
0567edb
..
0c5cd1a
100644
(file)
--- 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