diff options
author | Havoc Pennington <hp@redhat.com> | 2003-03-17 02:20:18 +0000 |
---|---|---|
committer | Havoc Pennington <hp@redhat.com> | 2003-03-17 02:20:18 +0000 |
commit | 23e4978e2f07de14449f63320cd5e6b066672b8e (patch) | |
tree | a3a4ba17073941ed071771b99ae95d4a26bcfa40 /bus | |
parent | b4a1100f4f81534e2aac0141afda750f318223d4 (diff) |
2003-03-16 Havoc Pennington <hp@pobox.com>
* bus/dispatch.c (bus_dispatch_test): remove double-unrefs of
connections
* dbus/dbus-address.c (create_entry): fix OOM handling when
failing to alloc entry->method
Diffstat (limited to 'bus')
-rw-r--r-- | bus/dispatch.c | 3 |
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); |