Skip to content
Commit 9af4e7fe authored by Xi Wang's avatar Xi Wang Committed by Takashi Iwai
Browse files

ALSA: core: fix NULL checking in snd_pcm_plug_client_size()



The dereference snd_pcm_plug_stream(plug) should come after the NULL
check snd_BUG_ON(!plug).

Signed-off-by: default avatarXi Wang <xi.wang@gmail.com>
Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
parent 1762a59d
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