Prev: [GIT PULL] x86 platform drivers tree
Next: [PATCH 08/14] dell-laptop: Blacklist machines not supporting dell-laptop
From: Matthew Garrett on 26 Feb 2010 10:30 da_tokens was not being freed by dell-laptop on unload. Fix that. Signed-off-by: Matthew Garrett <mjg(a)redhat.com> --- 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 b4c2190..b13eb6a 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); -- 1.6.6.1 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo(a)vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/ |