ASoC: fsl: Fix memory leak in imx-audmux.c
authorFelipe Pena <felipensp@gmail.com>
Sat, 12 Oct 2013 22:35:06 +0000 (19:35 -0300)
committerMark Brown <broonie@linaro.org>
Mon, 14 Oct 2013 11:52:59 +0000 (12:52 +0100)
commit1b3ed70a1b22e54b6adaf6ffebe1aa6f26465bae
tree3931e76bc3a006400071851022dd9fb9dcd8a5d5
parent8e9c4aa4e7bd600d30e15ec82be9b670a1ec3da9
ASoC: fsl: Fix memory leak in imx-audmux.c

When audmux_clk is used and clk_prepare_enable function succeed,
the memory alloc'd to buf variable is leaked

Signed-off-by: Felipe Pena <felipensp@gmail.com>
Reviewed-by: Sascha Hauer <s.hauer@pengutronix.de>
Signed-off-by: Mark Brown <broonie@linaro.org>
sound/soc/fsl/imx-audmux.c