diff options
author | Matthew Garrett | 2010-02-09 14:05:01 -0500 |
---|---|---|
committer | Matthew Garrett | 2010-02-25 11:50:44 -0500 |
commit | e551260b233e8dcbdc9d5f238ad4aa1200dc2ea7 (patch) | |
tree | cd61e42641fe2b512cb6660ae6c8baf6843159a9 /drivers/platform | |
parent | facd61d7b70d9c061f08e0b76976f7f833888a70 (diff) |
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>
Diffstat (limited to 'drivers/platform')
-rw-r--r-- | drivers/platform/x86/dell-laptop.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/platform/x86/dell-laptop.c b/drivers/platform/x86/dell-laptop.c index b4c2190e89f9..b13eb6a2cb51 100644 --- a/drivers/platform/x86/dell-laptop.c +++ b/drivers/platform/x86/dell-laptop.c @@ -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); |