mirror of
https://github.com/alsa-project/alsa-lib.git
synced 2025-10-31 22:25:35 -04:00
Fixed linked variable reset
This commit is contained in:
parent
54bfcb69d8
commit
2879321023
1 changed files with 1 additions and 0 deletions
|
|
@ -299,6 +299,7 @@ static int snd_pcm_multi_hw_free(snd_pcm_t *pcm)
|
|||
err = e;
|
||||
if (!multi->slaves[i].linked)
|
||||
continue;
|
||||
multi->slaves[i].linked = 0;
|
||||
e = snd_pcm_unlink(slave);
|
||||
if (e < 0)
|
||||
err = e;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue