From 287932102345c7afc2982081d4e948e27e865678 Mon Sep 17 00:00:00 2001 From: Jaroslav Kysela Date: Tue, 17 Apr 2001 09:58:06 +0000 Subject: [PATCH] Fixed linked variable reset --- src/pcm/pcm_multi.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/pcm/pcm_multi.c b/src/pcm/pcm_multi.c index 04c23a86..aa6b6326 100644 --- a/src/pcm/pcm_multi.c +++ b/src/pcm/pcm_multi.c @@ -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; -- 2.47.1