mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-10-31 22:25:38 -04:00
pulse: return NULL format in error
This commit is contained in:
parent
732bf4b58c
commit
617afee62b
1 changed files with 1 additions and 2 deletions
|
|
@ -865,11 +865,10 @@ pa_format_info* pa_format_info_from_param(const struct spa_pod *param)
|
|||
break;
|
||||
}
|
||||
}
|
||||
out:
|
||||
return f;
|
||||
error:
|
||||
pa_format_info_free(f);
|
||||
goto out;
|
||||
return NULL;
|
||||
}
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue