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