Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F144940291
D48183.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
367 B
Referenced Files
None
Subscribers
None
D48183.diff
View Options
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
Details
Attached
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)
Attached To
Mode
D48183: sound: Call vchan_destroy() on vchan_create() failure
Attached
Detach File
Event Timeline
Log In to Comment