mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-10-29 05:40:27 -04:00
bluez5: handle NULL profile, don't run the filter on it
This commit is contained in:
parent
d968ab56a5
commit
92f4831c9f
1 changed files with 2 additions and 0 deletions
|
|
@ -345,6 +345,8 @@ static int impl_enum_params(void *object, int seq,
|
|||
switch (result.index) {
|
||||
case 0:
|
||||
param = build_profile(this, &b, id, this->profile);
|
||||
if (param == NULL)
|
||||
return 0;
|
||||
break;
|
||||
default:
|
||||
return 0;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue