linux-sg2042/sound/soc/sh
Colin Ian King 0ea617a298 ASoC: rsnd: don't double free kctrl
On an error, snd_ctl_add already free's kctrl, so calling snd_ctl_free_one
to free it again leads to a double free error.  Fix this by removing
the extraneous snd_ctl_free_one call.

Issue found using static analysis with CoverityScan, CID 1372908

Signed-off-by: Colin Ian King <colin.king@canonical.com>
Acked-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
2016-12-15 11:04:23 +00:00
..
rcar ASoC: rsnd: don't double free kctrl 2016-12-15 11:04:23 +00:00
Kconfig ASoC: rsnd: enable COMPILE_TEST 2016-10-26 13:13:25 +01:00
Makefile
dma-sh7760.c
fsi.c ASoC: sh: fix fsi build warnings for 64 bit 2015-11-21 13:27:03 +00:00
hac.c
migor.c
sh7760-ac97.c
siu.h
siu_dai.c
siu_pcm.c
ssi.c