ALSA: fireface: fix memory leak in ff400_switch_fetching_mode()
authorTakashi Sakamoto <o-takashi@sakamocchi.jp>
Sun, 9 Sep 2018 13:25:52 +0000 (22:25 +0900)
committerTakashi Iwai <tiwai@suse.de>
Mon, 10 Sep 2018 07:08:14 +0000 (09:08 +0200)
commit36f3a6e02c143a7e9e4e143e416371f67bc1fae6
treeed86bc1b0b5818b4c223c5bf82b8827d3a1a466a
parent493626f2d87a74e6dbea1686499ed6e7e600484e
ALSA: fireface: fix memory leak in ff400_switch_fetching_mode()

An allocated memory forgets to be released.

Fixes: 76fdb3a9e13 ('ALSA: fireface: add support for Fireface 400')
Cc: <stable@vger.kernel.org> # 4.12+
Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/firewire/fireface/ff-protocol-ff400.c