]> err.no Git - linux-2.6/commit
V4L/DVB (4991): Cafe_ccic.c: fix NULL dereference
authorAdrian Bunk <bunk@stusta.de>
Wed, 20 Dec 2006 12:34:32 +0000 (09:34 -0300)
committerMauro Carvalho Chehab <mchehab@infradead.org>
Wed, 27 Dec 2006 16:19:56 +0000 (14:19 -0200)
commitd4f60baf7827c6a46b7ee2ed0a2a32a373febfcb
tree3b4e0b7677cc022fc776f9016e323db42555b99d
parentd82d418a3af4d7d07151f9d45ca20f2ce61289a0
V4L/DVB (4991): Cafe_ccic.c: fix NULL dereference

We shouldn't dereference "cam" when we already know it's NULL.
Spotted by the Coverity checker.

Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
drivers/media/video/cafe_ccic.c