aboutsummaryrefslogtreecommitdiff
path: root/tools/testing/radix-tree/linux/kernel.h
diff options
context:
space:
mode:
authorChristophe JAILLET <[email protected]>2017-09-14 22:44:24 +0200
committerMark Brown <[email protected]>2017-09-14 14:13:03 -0700
commitf3ee9096fcaf55eae37dfb58603c4dbff6f0a7c9 (patch)
treeae96a0f7df22415824b9f5de9cd8db403594c890 /tools/testing/radix-tree/linux/kernel.h
parent6d5574ed5c8b1a1f31fcbdab5d26e15533c442ca (diff)
ASoC: topology: Fix a potential memory leak in 'soc_tplg_dapm_widget_denum_create()'
If this sanity check fails, we must free the memory that has already been allocated. So we must go to 'err' as in the other error handling parth of this function. Fixes: 1a7dd6e2f192 ("ASoC: topology: Allow a widget to have multiple enum controls") Signed-off-by: Christophe JAILLET <[email protected]> Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'tools/testing/radix-tree/linux/kernel.h')
0 files changed, 0 insertions, 0 deletions