Page MenuHomeFreeBSD

D48183.diff
No OneTemporary

D48183.diff

diff --git a/sys/dev/sound/pcm/vchan.c b/sys/dev/sound/pcm/vchan.c
--- a/sys/dev/sound/pcm/vchan.c
+++ b/sys/dev/sound/pcm/vchan.c
@@ -811,11 +811,8 @@
return (ret);
fail:
- CHN_REMOVE(parent, ch, children);
- parent->flags &= ~CHN_F_HAS_VCHAN;
- CHN_UNLOCK(parent);
- chn_kill(ch);
- CHN_LOCK(parent);
+ CHN_LOCK(ch);
+ vchan_destroy(ch);
return (ret);
}

File Metadata

Mime Type
text/plain
Expires
Sun, Feb 15, 8:03 AM (8 h, 52 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
28732871
Default Alt Text
D48183.diff (367 B)

Event Timeline