mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-07 13:30:03 -05:00
dbusiface-card-profile: Assert the core argument isn't NULL.
This commit is contained in:
parent
8b5550dba3
commit
afb79ee83e
1 changed files with 1 additions and 0 deletions
|
|
@ -190,6 +190,7 @@ pa_dbusiface_card_profile *pa_dbusiface_card_profile_new(
|
||||||
pa_dbusiface_card_profile *p = NULL;
|
pa_dbusiface_card_profile *p = NULL;
|
||||||
|
|
||||||
pa_assert(card);
|
pa_assert(card);
|
||||||
|
pa_assert(core);
|
||||||
pa_assert(profile);
|
pa_assert(profile);
|
||||||
|
|
||||||
p = pa_xnew(pa_dbusiface_card_profile, 1);
|
p = pa_xnew(pa_dbusiface_card_profile, 1);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue