ALSA: usb/6fire: Fix potential NULL pointer dereference in comm.c
commit27b2a22c714303d1920e269a8322ff23107694ee
authorSachin Kamat <sachin.kamat@linaro.org>
Wed, 21 Nov 2012 09:06:57 +0000 (21 14:36 +0530)
committerTakashi Iwai <tiwai@suse.de>
Wed, 21 Nov 2012 09:43:52 +0000 (21 10:43 +0100)
tree76f06bcdd9975d8223e23a075ad3a697b8e5441d
parent6cf95152079d7c6d7ba6442be45e02b24bbb1c65
ALSA: usb/6fire: Fix potential NULL pointer dereference in comm.c

'rt' was dereferenced before the NULL check.
Moved the code after the check.

Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/usb/6fire/comm.c