diff options
author | Colin Ian King <colin.king@canonical.com> | 2016-09-29 18:32:12 +0100 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2016-09-29 11:21:03 -0700 |
commit | 0730bd2e2ade00d88647b13a0c17cde254ddf56e (patch) | |
tree | 37570151b1860c36b98aa74a2099fabd3c914edb /drivers/soc | |
parent | 5919a3898136aae4d2cb4b18b44f70f7b185aa47 (diff) | |
download | linux-0730bd2e2ade00d88647b13a0c17cde254ddf56e.tar.bz2 |
ASoC: Intel: Skylake: fix memory leak of module on error exit path
Currently there is a memory leak of module on a ENOMEM return path.
Fix this by kfree'ing module before returning.
Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'drivers/soc')
0 files changed, 0 insertions, 0 deletions