mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-10-29 05:40:27 -04:00
Resolve problems found on review
This commit is contained in:
parent
625c0f5784
commit
5be2f5e096
1 changed files with 2 additions and 2 deletions
|
|
@ -5572,8 +5572,8 @@ static void interfaces_removed(struct spa_bt_monitor *monitor, DBusMessageIter *
|
|||
} else if (spa_streq(interface_name, BLUEZ_MEDIA_TRANSPORT_INTERFACE)) {
|
||||
struct spa_bt_transport *transport;
|
||||
transport = spa_bt_transport_find(monitor, object_path);
|
||||
if (transport->profile == SPA_BT_PROFILE_BAP_BROADCAST_SINK) {
|
||||
if (transport != NULL) {
|
||||
if (transport->profile == SPA_BT_PROFILE_BAP_BROADCAST_SINK) {
|
||||
struct spa_bt_device *d = transport->device;
|
||||
if (d != NULL){
|
||||
device_free(d);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue