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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 21 Nov 2014 17:22:52 +0000 (09:22 -0800)
commit9a262b4b21aaebe6323b2b8362465ca796f12768
tree8fe3609766ca055f70ff0c79759aabce31cec7e9
parent9921a2d59ae1ad736ef4e6abf2a67d961e74a95c
ALSA: usb-audio: Fix memory leak in FTU quirk

commit 1a290581ded60e87276741f8ca97b161d2b226fc upstream.

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

Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
sound/usb/mixer_quirks.c