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

ALSA: jack: Check the return value of kstrdup()



kstrdup() can return NULL, it is better to check the return value of it.

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


Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
parent 2dee54b2
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment