summaryrefslogtreecommitdiffstats
path: root/include/sound/soc-dapm.h
diff options
context:
space:
mode:
authorLars-Peter Clausen <lars@metafoo.de>2013-08-01 14:08:07 +0200
committerMark Brown <broonie@linaro.org>2013-08-01 20:24:28 +0200
commit2c75bdf3fd935119cf8681ac0df2b4a5edd5167d (patch)
tree9cd5658af2854651f974ad35895f54c1addd9191 /include/sound/soc-dapm.h
parentASoC: dapm: Check return value of snd_soc_cnew() (diff)
downloadlinux-2c75bdf3fd935119cf8681ac0df2b4a5edd5167d.tar.xz
linux-2c75bdf3fd935119cf8681ac0df2b4a5edd5167d.zip
ASoC: dapm: Fix kcontrol path list corruption
When calling krealloc for the kcontrol data the items in the path list that point back to the head of the list will now point to freed memory, which causes the list to become corrupted. To fix this, instead of resizing the whole data struct, only resize the widget list. Signed-off-by: Lars-Peter Clausen <lars@metafoo.de> Signed-off-by: Mark Brown <broonie@linaro.org>
Diffstat (limited to 'include/sound/soc-dapm.h')
0 files changed, 0 insertions, 0 deletions