mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-10-29 05:40:23 -04:00
add missing initialization
This commit is contained in:
parent
cbbd98635a
commit
3813034cef
1 changed files with 1 additions and 0 deletions
|
|
@ -141,6 +141,7 @@ pa_card *pa_card_new(pa_core *core, pa_card_new_data *data) {
|
|||
data->profiles = NULL;
|
||||
|
||||
c->active_profile = NULL;
|
||||
c->save_profile = FALSE;
|
||||
|
||||
if (data->active_profile && c->profiles)
|
||||
if ((c->active_profile = pa_hashmap_get(c->profiles, data->active_profile)))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue