diff options
author | Jeeja KP <jeeja.kp@intel.com> | 2016-05-05 11:19:19 +0530 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2016-05-05 16:46:54 +0100 |
commit | c286b3f9600b2ddc573208792d947e1a251c6b15 (patch) | |
tree | 79e3d3de90ab01d241e775e1ec9d54c1ceb33b0e /drivers/char/nwflash.c | |
parent | 551f4bc86807637098786c78afb78418ada4aa1f (diff) |
ASoC: Intel: Skylake: Fix memory leak in nhlt init
During skl_nhlt_init(), acpi obj pointer is allocated and never
freed and remap address is not unmapped.
To fix this we should release the ACPI obj and also unmap the
nhlt address during cleanup of driver.
Signed-off-by: Jeeja KP <jeeja.kp@intel.com>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'drivers/char/nwflash.c')
0 files changed, 0 insertions, 0 deletions