diff options
author | Colin Ian King <[email protected]> | 2020-06-04 18:12:16 +0100 |
---|---|---|
committer | Mark Brown <[email protected]> | 2020-06-05 12:13:03 +0100 |
commit | 6e801dc411329aff592fbd48fb116183d0acdb00 (patch) | |
tree | 1fd9b044f7b74e3d08f82ed8d946dcabe4eb8282 /scripts/gdb/linux/modules.py | |
parent | 97ed3e509ee6d098730d137759c627a8d674cf55 (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 <[email protected]>
Addresses-Coverity: ("Resource leak")
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/modules.py')
0 files changed, 0 insertions, 0 deletions