Skip to content
Commit d7f15bef authored by Xiaoke Wang's avatar Xiaoke Wang Committed by Takashi Iwai
Browse files

ALSA: lola: add a check for the return of vmalloc()



vmalloc() is a memory allocation function which can return NULL when
some internal memory errors happen. So it is better to check the return
of it to catch the error in time.

Signed-off-by: default avatarXiaoke Wang <xkernel.wang@foxmail.com>
Link: https://lore.kernel.org/r/tencent_4221FC4089F6DF01C48F192E5784038BA205@qq.com


Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
parent 3cffb26f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment