Commit e551260b authored by Matthew Garrett's avatar Matthew Garrett

dell-laptop: Fix small memory leak

da_tokens was not being freed by dell-laptop on unload. Fix that.
Signed-off-by: default avatarMatthew Garrett <mjg@redhat.com>
parent 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%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment