mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-02 09:01:50 -05:00
spa: bluez: initalize DBusError object
The DBusError passed to `dbus_set_error_from_message()` must
be initialized, otherwise libdbus aborts:
dbus[129473]: arguments to dbus_set_error_from_message() were incorrect,
assertion "(error) == NULL || !dbus_error_is_set ((error))"
failed in file dbus-message.c line 4043.
This is normally a bug in some application using the D-Bus library.
This commit is contained in:
parent
10352dbaa5
commit
4d5f3620af
1 changed files with 1 additions and 1 deletions
|
|
@ -3212,7 +3212,7 @@ static void transport_set_property_volume_reply(DBusPendingCall *pending, void *
|
||||||
{
|
{
|
||||||
struct spa_bt_transport *transport = user_data;
|
struct spa_bt_transport *transport = user_data;
|
||||||
struct spa_bt_monitor *monitor = transport->monitor;
|
struct spa_bt_monitor *monitor = transport->monitor;
|
||||||
DBusError err;
|
DBusError err = DBUS_ERROR_INIT;
|
||||||
DBusMessage *r;
|
DBusMessage *r;
|
||||||
|
|
||||||
r = dbus_pending_call_steal_reply(pending);
|
r = dbus_pending_call_steal_reply(pending);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue