]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: topology: free link string in error
authorBard liao <yung-chuan.liao@linux.intel.com>
Tue, 5 Mar 2019 15:57:53 +0000 (23:57 +0800)
committerMark Brown <broonie@kernel.org>
Tue, 19 Mar 2019 11:56:40 +0000 (11:56 +0000)
commit2b868b0d29cc10e6b985e42b3fe76a3105a15ac5
treec169b7adbb628e4975d617a062b1bbc6975cc63b
parent41b0992cf699c7600fca228336d5f0a3c1352ba0
ASoC: topology: free link string in error

Some strings are allocated by kstrdup, but not freed when error
happened.

Signed-off-by: Bard liao <yung-chuan.liao@linux.intel.com>
Acked-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/soc-topology.c