pulse-server: handle NULL dbus connection

Fixes #1224
This commit is contained in:
Wim Taymans 2021-05-26 10:23:17 +02:00
parent f007ca475c
commit 4e4294dc13

View file

@ -47,6 +47,8 @@ static void *dbus_request_name(struct pw_context *context, const char *name)
return NULL;
bus = spa_dbus_connection_get(conn);
if (bus == NULL)
return NULL;
dbus_error_init(&error);