summaryrefslogtreecommitdiff
path: root/test/test-service.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/test-service.c')
-rw-r--r--test/test-service.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/test/test-service.c b/test/test-service.c
index f71e3e039..52ea38330 100644
--- a/test/test-service.c
+++ b/test/test-service.c
@@ -452,9 +452,8 @@ main (int argc,
loop = _dbus_loop_new ();
if (loop == NULL)
die ("No memory\n");
-
- if (!test_connection_setup (loop, connection))
- die ("No memory\n");
+
+ test_connection_setup (loop, connection);
if (!dbus_connection_add_filter (connection,
filter_func, NULL, NULL))