]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
ASoC: core: double free in snd_soc_add_platform()
authorDan Carpenter <dan.carpenter@oracle.com>
Mon, 22 Jul 2013 06:56:54 +0000 (09:56 +0300)
committerMark Brown <broonie@linaro.org>
Mon, 22 Jul 2013 10:00:05 +0000 (11:00 +0100)
commitb5c745fb75b7e5ab06e9c99d63427595a234cc89
treee8749833c16bb2e8d88be3a4cf16990cc2e26e99
parent3b2f64d00c46e1e4e9bd0bb9bb12619adac27a4b
ASoC: core: double free in snd_soc_add_platform()

There are three callers for this function, and none of them want it to
free platform for them.  It leads to a double free.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Mark Brown <broonie@linaro.org>
sound/soc/soc-core.c