ALSA: echoaudio: check kmalloc() result
authorKulikov Vasiliy <segooon@gmail.com>
Fri, 16 Jul 2010 16:15:43 +0000 (20:15 +0400)
committerTakashi Iwai <tiwai@suse.de>
Mon, 19 Jul 2010 15:59:04 +0000 (17:59 +0200)
commit0b6d092c8eeeb43893503afd2f6c1c67ceafc863
treee69ed28a29b3f9a3499963d66fbe7dab37f03d00
parent8d011cc7a9374db9b5ace3b75d34f10fdc3b51c4
ALSA: echoaudio: check kmalloc() result

If kmalloc() fails exit with -ENOMEM.

Signed-off-by: Kulikov Vasiliy <segooon@gmail.com>
Ack-by: Giuliano Pochini <pochini@shiny.it>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/echoaudio/echoaudio.c