forked from Minki/linux
dell-laptop: Fix small memory leak
da_tokens was not being freed by dell-laptop on unload. Fix that. Signed-off-by: Matthew Garrett <mjg@redhat.com>
This commit is contained in:
parent
facd61d7b7
commit
e551260b23
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user