summaryrefslogtreecommitdiffstats
path: root/bus/dispatch.c
diff options
context:
space:
mode:
Diffstat (limited to 'bus/dispatch.c')
-rw-r--r--bus/dispatch.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/bus/dispatch.c b/bus/dispatch.c
index b4b03d96..4f550f9a 100644
--- a/bus/dispatch.c
+++ b/bus/dispatch.c
@@ -984,19 +984,16 @@ bus_dispatch_test (const DBusString *test_data_dir)
dbus_connection_disconnect (foo);
if (bus_connection_dispatch_one_message (foo))
_dbus_assert_not_reached ("extra message in queue");
- dbus_connection_unref (foo);
_dbus_assert (!bus_test_client_listed (foo));
dbus_connection_disconnect (bar);
if (bus_connection_dispatch_one_message (bar))
_dbus_assert_not_reached ("extra message in queue");
- dbus_connection_unref (bar);
_dbus_assert (!bus_test_client_listed (bar));
dbus_connection_disconnect (baz);
if (bus_connection_dispatch_one_message (baz))
_dbus_assert_not_reached ("extra message in queue");
- dbus_connection_unref (baz);
_dbus_assert (!bus_test_client_listed (baz));
bus_context_unref (context);