]> git.alsa-project.org Git - alsa-lib.git/commitdiff
Fixed linked variable reset
authorJaroslav Kysela <perex@perex.cz>
Tue, 17 Apr 2001 09:58:06 +0000 (09:58 +0000)
committerJaroslav Kysela <perex@perex.cz>
Tue, 17 Apr 2001 09:58:06 +0000 (09:58 +0000)
src/pcm/pcm_multi.c

index 04c23a8635eb34c535f2a4bed9a25d34a8844b4d..aa6b63262e85254524116b3e253a19690968b0fa 100644 (file)
@@ -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;