V4L/DVB (3488): Snd_cx88_create: don't dereference NULL core
authorDuncan Sands <duncan.sands@math.u\-psud.fr>
Tue, 14 Mar 2006 15:12:39 +0000 (12:12 -0300)
committerLinus Torvalds <torvalds@g5.osdl.org>
Tue, 21 Mar 2006 16:53:21 +0000 (08:53 -0800)
If the call to cx88_core_get returns a NULL value, it is dereferenced
by cx88_reset, and perhaps by cx88_core_put.  Spotted by the Coverity
checker.

Signed-off-by: Duncan Sands <baldrick@free.fr>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>

No differences found