V4L/DVB: cx18: address possible passing of NULL to snd_card_free
authorDevin Heitmueller <dheitmueller@kernellabs.com>
Thu, 7 Jan 2010 03:52:39 +0000 (00:52 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Fri, 26 Feb 2010 18:10:44 +0000 (15:10 -0300)
commitc71fd169a13d34f26997b27183b510e0b7fc2623
treeea54d454a3dde270a11fbdd6bf0edfa87ac2fad9
parent60433e2ab8391d1884ddef2269bd19ecdaaa2d72
V4L/DVB: cx18: address possible passing of NULL to snd_card_free

Eliminate the possibility of passing NULL to snd_card_free().

Thanks to Takashi Iwai for reviewing and pointing this out.

This work was sponsored by ONELAN Limited.

Cc: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Devin Heitmueller <dheitmueller@kernellabs.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/cx18/cx18-alsa-main.c