diff options
author | Lars-Peter Clausen <[email protected]> | 2013-08-01 14:08:07 +0200 |
---|---|---|
committer | Mark Brown <[email protected]> | 2013-08-01 19:24:28 +0100 |
commit | 2c75bdf3fd935119cf8681ac0df2b4a5edd5167d (patch) | |
tree | 9cd5658af2854651f974ad35895f54c1addd9191 /lib/test-string_helpers.c | |
parent | 9356e9d51c80114fce2d7d8be99bce1d7e19d063 (diff) |
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 <[email protected]>
Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'lib/test-string_helpers.c')
0 files changed, 0 insertions, 0 deletions