mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-10-29 05:40:23 -04:00
role-cork: Fix incorrect check at deinitialisation time
This commit is contained in:
parent
a2c4bf22e0
commit
b7f7eb5657
1 changed files with 1 additions and 1 deletions
|
|
@ -289,7 +289,7 @@ void pa__done(pa_module *m) {
|
|||
pa_xfree(role);
|
||||
pa_idxset_free(u->trigger_roles, NULL, NULL);
|
||||
}
|
||||
if (u->trigger_roles) {
|
||||
if (u->cork_roles) {
|
||||
while ((role = pa_idxset_steal_first(u->cork_roles, NULL)))
|
||||
pa_xfree(role);
|
||||
pa_idxset_free(u->cork_roles, NULL, NULL);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue