diff options
author | Colin Ian King <[email protected]> | 2016-09-29 18:32:12 +0100 |
---|---|---|
committer | Mark Brown <[email protected]> | 2016-09-29 11:21:03 -0700 |
commit | 0730bd2e2ade00d88647b13a0c17cde254ddf56e (patch) | |
tree | 37570151b1860c36b98aa74a2099fabd3c914edb /drivers/tty/serial/sccnxp.c | |
parent | 5919a3898136aae4d2cb4b18b44f70f7b185aa47 (diff) |
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 <[email protected]>
Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'drivers/tty/serial/sccnxp.c')
0 files changed, 0 insertions, 0 deletions