linux/sound/soc/sh/rcar
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
..
adg.c ASoC: rsnd: setup BRGCKR/BRRA/BRRB when starting 2016-12-07 15:47:45 +00:00
cmd.c
core.c ASoC: rsnd: don't double free kctrl 2016-12-15 11:04:23 +00:00
ctu.c
dma.c
dvc.c
gen.c
Makefile
mix.c
rsnd.h ASoC: rsnd: enable/disable ADG when suspend/resume timing 2016-12-07 15:47:45 +00:00
src.c
ssi.c ASoC: rsnd: tidyup ssi->usrcnt counter check in hw_params 2016-12-07 15:47:44 +00:00
ssiu.c