diff options
| author | Olivier Houchard <cognet@FreeBSD.org> | 2003-01-14 17:13:52 +0000 |
|---|---|---|
| committer | Olivier Houchard <cognet@FreeBSD.org> | 2003-01-14 17:13:52 +0000 |
| commit | e550089d43cd2d6f1047199268ec8a5074ddc65e (patch) | |
| tree | 44863be9dcce40a431638c6581f75a05a47e348f | |
| parent | b24431ad30003182ce8e61d9f9dce7d9c1ee83ea (diff) | |
Notes
| -rw-r--r-- | sys/dev/sound/pcm/sound.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/sound/pcm/sound.c b/sys/dev/sound/pcm/sound.c index 2b77684a96ce..c184a69e13e9 100644 --- a/sys/dev/sound/pcm/sound.c +++ b/sys/dev/sound/pcm/sound.c @@ -536,7 +536,7 @@ pcm_killchan(device_t dev) snd_mtxunlock(d->lock); ch = sce->channel; - error = pcm_chn_remove(d, sce->channel, 1); + error = pcm_chn_remove(d, sce->channel, SLIST_EMPTY(&ch->children)); if (error) return (error); return (pcm_chn_destroy(ch)); |
