ALSA: lola: NULL deref on allocation error
authorDan Carpenter <dan.carpenter@oracle.com>
Wed, 5 Mar 2014 10:55:09 +0000 (13:55 +0300)
committerTakashi Iwai <tiwai@suse.de>
Wed, 5 Mar 2014 11:10:15 +0000 (12:10 +0100)
commit7cf9bb21ee6df76a3a1eaa512a350cb1af00d544
tree1344feb59777059eff9ba9c3d85b38a4f0af59a2
parent31278997add61ee13b709e274934c7b0085accce
ALSA: lola: NULL deref on allocation error

"chip" is NULL here.  We don't need a printk here because kmalloc() has
it built in.

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