ALSA: hda - Fix access-after-free in patch_realtek.c
commitbae84e70d66fe46c12231082cf1c4848ea22f3ef
authorTakashi Iwai <tiwai@suse.de>
Mon, 22 Mar 2010 07:30:20 +0000 (22 08:30 +0100)
committerTakashi Iwai <tiwai@suse.de>
Mon, 22 Mar 2010 07:30:20 +0000 (22 08:30 +0100)
treec0994ef3f0e306583c5619da8fd6498fd932dd24
parentea823c08912cfb6d4af2fa8b6dd5d8deb2fb486a
ALSA: hda - Fix access-after-free in patch_realtek.c

alc_free_kctls() has to be called after all jobs done in alc_build_controls().

Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/hda/patch_realtek.c