projects
/
GitHub
/
LineageOS
/
G12
/
android_kernel_amlogic_linux-4.9.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
facd61d
)
dell-laptop: Fix small memory leak
author
Matthew Garrett
<mjg@redhat.com>
Tue, 9 Feb 2010 19:05:01 +0000
(14:05 -0500)
committer
Matthew Garrett
<mjg@redhat.com>
Thu, 25 Feb 2010 16:50:44 +0000
(11:50 -0500)
da_tokens was not being freed by dell-laptop on unload. Fix that.
Signed-off-by: Matthew Garrett <mjg@redhat.com>
drivers/platform/x86/dell-laptop.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/platform/x86/dell-laptop.c
b/drivers/platform/x86/dell-laptop.c
index b4c2190e89f97f8e2466f45e60b3cbe01965c2bd..b13eb6a2cb514e34fd05d5827470f73eb5eb3f6f 100644
(file)
--- 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);