ALSA: x86: Fix memory leak in had_build_channel_allocation_map()
authorTakashi Iwai <tiwai@suse.de>
Wed, 15 Feb 2017 20:42:20 +0000 (21:42 +0100)
committerTakashi Iwai <tiwai@suse.de>
Thu, 16 Feb 2017 08:22:42 +0000 (09:22 +0100)
commit18353192b8f696a27420e2e8f39804c2075f26fb
tree249ee4bd572f191ae81c9853318a0782bd0d0235
parent5def90196b52d0bbec4f662448e25f2a4c06ddbc
ALSA: x86: Fix memory leak in had_build_channel_allocation_map()

The previously allocated chmap has to be released before setting the
new one.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/x86/intel_hdmi_audio.c