cvs commit: src/sys/dev/sound/pci csapcm.c
Alexander Leidinger
netchild at FreeBSD.org
Sun Feb 5 09:33:19 PST 2006
netchild 2006-02-05 17:33:18 UTC
FreeBSD src repository
Modified files:
sys/dev/sound/pci csapcm.c
Log:
A pointer was checked for NULL after dereferencing it. The check is not
needed here, except there's a bug which results in detaching the device
twice.
Move the NULL pointer check to the beginning of the function and convert
it into a KASSERT.
CID: 420
Found with: Coverity Prevent(tm)
Discussed with: ariff
MFC after: 5 days
Revision Changes Path
1.36 +4 -4 src/sys/dev/sound/pci/csapcm.c
More information about the cvs-src
mailing list