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