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)
commitb3718b8f7e9b4afdfd281d35233b078585aef2e9
treec169b7adbb628e4975d617a062b1bbc6975cc63b
parent7b6f68a4df4df3a58e854d24da991640bd4d9590
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