aboutsummaryrefslogtreecommitdiff
path: root/scripts/Makefile.lib
diff options
context:
space:
mode:
authorColin Ian King2020-06-04 18:12:16 +0100
committerMark Brown2020-06-05 12:13:03 +0100
commit6e801dc411329aff592fbd48fb116183d0acdb00 (patch)
tree1fd9b044f7b74e3d08f82ed8d946dcabe4eb8282 /scripts/Makefile.lib
parent97ed3e509ee6d098730d137759c627a8d674cf55 (diff)
ASoC: meson: fix memory leak of links if allocation of ldata fails
Currently if the allocation of ldata fails the error return path does not kfree the allocated links object. Fix this by adding an error exit return path that performs the necessary kfree'ing. Fixes: 7864a79f37b5 ("ASoC: meson: add axg sound card support") Signed-off-by: Colin Ian King <colin.king@canonical.com> Addresses-Coverity: ("Resource leak") Link: https://lore.kernel.org/r/20200604171216.60043-1-colin.king@canonical.com Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'scripts/Makefile.lib')
0 files changed, 0 insertions, 0 deletions