diff options
author | green <green@FreeBSD.org> | 2003-01-05 07:32:33 +0000 |
---|---|---|
committer | green <green@FreeBSD.org> | 2003-01-05 07:32:33 +0000 |
commit | 406f1a874f26620453626d27da3c4f53c5839e1a (patch) | |
tree | fbc653ca4a44849f4975561413ae0871c49cc534 /sys | |
parent | 0e542465928d3dd785b1dbf5db44c750200fb99f (diff) | |
download | FreeBSD-src-406f1a874f26620453626d27da3c4f53c5839e1a.zip FreeBSD-src-406f1a874f26620453626d27da3c4f53c5839e1a.tar.gz |
Fix the duplicate unlock of the pcm read channel in certain cases.
Reviewed by: cg
Diffstat (limited to 'sys')
-rw-r--r-- | sys/dev/sound/pcm/dsp.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/sys/dev/sound/pcm/dsp.c b/sys/dev/sound/pcm/dsp.c index 7baa442..dd69dcf 100644 --- a/sys/dev/sound/pcm/dsp.c +++ b/sys/dev/sound/pcm/dsp.c @@ -293,7 +293,6 @@ dsp_open(dev_t i_dev, int flags, int mode, struct thread *td) CHN_LOCK(rdch); pcm_chnref(rdch, -1); pcm_chnrelease(rdch); - CHN_UNLOCK(rdch); } pcm_unlock(d); splx(s); |