mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-10-29 05:40:23 -04:00
alsa-mixer: Have valid proplist for synthesized path as well.
When synthesized alsa path is freed there is an assert from NULL proplist. Create empty proplist for the path to fix. Signed-off-by: Juho Hämäläinen <juho.hamalainen@nomovok.com>
This commit is contained in:
parent
7f4acbd1c0
commit
f61a16b8b1
1 changed files with 1 additions and 0 deletions
|
|
@ -2621,6 +2621,7 @@ pa_alsa_path *pa_alsa_path_synthesize(const char *element, pa_alsa_direction_t d
|
|||
p = pa_xnew0(pa_alsa_path, 1);
|
||||
p->name = pa_xstrdup(element);
|
||||
p->direction = direction;
|
||||
p->proplist = pa_proplist_new();
|
||||
|
||||
e = pa_xnew0(pa_alsa_element, 1);
|
||||
e->path = p;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue