diff options
author | 2016-12-08 13:05:43 +0000 | |
---|---|---|
committer | 2016-12-15 11:04:23 +0000 | |
commit | 0ea617a298dcdc2251b4e10f83ac3f3e627b66e3 (patch) | |
tree | e6b32d4c0c03354a4c6dc5df65780b5d96b9336e /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | Merge remote-tracking branches 'asoc/topic/wm9712', 'asoc/topic/wm9713' and 'asoc/topic/zte' into asoc-next (diff) | |
download | wireguard-linux-0ea617a298dcdc2251b4e10f83ac3f3e627b66e3.tar.xz wireguard-linux-0ea617a298dcdc2251b4e10f83ac3f3e627b66e3.zip |
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>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions