diff options
-rw-r--r-- | drivers/platform/x86/huawei-wmi.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/platform/x86/huawei-wmi.c b/drivers/platform/x86/huawei-wmi.c index 3050444d5330..7ae9848cc6f3 100644 --- a/drivers/platform/x86/huawei-wmi.c +++ b/drivers/platform/x86/huawei-wmi.c @@ -885,6 +885,8 @@ static __exit void huawei_wmi_exit(void) { platform_device_unregister(huawei_wmi->pdev); platform_driver_unregister(&huawei_wmi_driver); + + kfree(huawei_wmi); } module_init(huawei_wmi_init); |