Skip to content
Commit e5af4f9f authored by anish kumar's avatar anish kumar Committed by Mark Brown
Browse files

ASoC: dapm: fix error path in snd_soc_dapm_new_pcm



w_param_text[count] is freed in the wrong error path.
Fix it by shifting the outfree_w_param label.

Signed-off-by: default avataranish kumar <yesanishhere@gmail.com>
Reviewed-by: default avatarCharles Keepax <ckeepax@opensource.cirrus.com>
Signed-off-by: default avatarMark Brown <broonie@kernel.org>
parent 2bd6bf03
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment