ALSA: pcxhr: NULL dereference on probe failure
authorDan Carpenter <dan.carpenter@oracle.com>
Wed, 10 Dec 2014 13:26:21 +0000 (16:26 +0300)
committerTakashi Iwai <tiwai@suse.de>
Wed, 10 Dec 2014 13:45:22 +0000 (14:45 +0100)
commit6e1d7a51392f06899bd7b693f28ac60fa1e00032
treea175acb89cd1963b09e6bf632184124c9c931a47
parentfeabb67e0eb0f509b530a56756ea44364843faea
ALSA: pcxhr: NULL dereference on probe failure

"card" is NULL if snd_card_new() fails.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/pcxhr/pcxhr.c