ALSA: usb: stream: fix potential memory leak during uac3 interface parsing
authorRuslan Bilovol <[email protected]>
Thu, 17 May 2018 22:08:59 +0000 (01:08 +0300)
committerTakashi Iwai <[email protected]>
Fri, 18 May 2018 06:40:40 +0000 (08:40 +0200)
commit6cd17ea70b26f66651c7afc123245e379dd14450
treee9ad17c7b5c1f35142a8a0638f216247cef0a80e
parent11d42c81036324697d367600bfc16f6dd37636fd
ALSA: usb: stream: fix potential memory leak during uac3 interface parsing

UAC3 channel map is created during interface parsing,
and in some cases was not freed in failure paths.

Reported-by: Dan Carpenter <[email protected]>
Signed-off-by: Ruslan Bilovol <[email protected]>
Signed-off-by: Takashi Iwai <[email protected]>
sound/usb/stream.c