Skip to content
Commit 0730bd2e authored by Colin Ian King's avatar Colin Ian King Committed by Mark Brown
Browse files

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: default avatarColin Ian King <colin.king@canonical.com>
Signed-off-by: default avatarMark Brown <broonie@kernel.org>
parent 5919a389
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment