aboutsummaryrefslogtreecommitdiff
path: root/include/linux/debugobjects.h
diff options
context:
space:
mode:
authorColin Ian King <[email protected]>2019-06-27 14:32:08 +0100
committerMark Brown <[email protected]>2019-06-28 15:08:49 +0100
commit1ad741d0e8e8ecccc16aa9ccb8362575197d91bf (patch)
tree175baf6ff9f597824379ae65961bfe1491d15468 /include/linux/debugobjects.h
parent8af26493c03581ad476a77630502de6152cf013d (diff)
ASoC: topology: fix memory leaks on sm, se and sbe
Currently when a kstrdup fails the error exit paths don't free the allocations for sm, se and sbe. This can be fixed by assigning kc[i].private_value to these before doing the ksrtdup so that the error exit path will be able to free these objects. Addresses-Coverity: ("Resource leak") Fixes: 9f90af3a9952 ("ASoC: topology: Consolidate and fix asoc_tplg_dapm_widget_*_create flow") Signed-off-by: Colin Ian King <[email protected]> Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'include/linux/debugobjects.h')
0 files changed, 0 insertions, 0 deletions