ALSA: usb-audio: Fix memory leak in FTU quirk
authorTakashi Iwai <tiwai@suse.de>
Tue, 11 Nov 2014 14:45:57 +0000 (15:45 +0100)
committerTakashi Iwai <tiwai@suse.de>
Tue, 11 Nov 2014 17:04:41 +0000 (18:04 +0100)
commit1a290581ded60e87276741f8ca97b161d2b226fc
treeb68edd50ace85a68c8c23d9e0537421f766703ad
parentb4565913460cbd7d86c6bd52913dfaa07fa384aa
ALSA: usb-audio: Fix memory leak in FTU quirk

M-audio FastTrack Ultra quirk doesn't release the kzalloc'ed memory.
This patch adds the private_free callback to release it properly.

Cc: <stable@vger.kernel.org>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/usb/mixer_quirks.c