提交 e551260b 编写于 作者: M Matthew Garrett

dell-laptop: Fix small memory leak

da_tokens was not being freed by dell-laptop on unload. Fix that.
Signed-off-by: NMatthew Garrett <mjg@redhat.com>
上级 facd61d7
......@@ -478,6 +478,7 @@ static void __exit dell_exit(void)
platform_device_del(platform_device);
platform_driver_unregister(&platform_driver);
}
kfree(da_tokens);
}
module_init(dell_init);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册