]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
platform/x86: huawei-wmi: Don't leak memory on the exit
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Thu, 10 Oct 2019 10:30:53 +0000 (13:30 +0300)
committerAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Tue, 15 Oct 2019 07:55:10 +0000 (10:55 +0300)
commit8c7d9ec8a470c39254dd0f64293545dcc86189d5
tree1e6a0b3774983fdc98b7d89d7b048acbaa313ada
parent9bfc14cb6a6a2d05bd746dccef5c41096b4f392c
platform/x86: huawei-wmi: Don't leak memory on the exit

We have to clean memory resources allocated during init.

Fixes: 7532afb35012 ("platform/x86: huawei-wmi: Move to platform driver")
Cc: Ayman Bagabas <ayman.bagabas@gmail.com>
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
drivers/platform/x86/huawei-wmi.c