commit | a01bce6ad970d181797dffff5649e1e6989aa88b | [log] [tgz] |
---|---|---|
author | Axel Lin <axel.lin@gmail.com> | Mon Sep 27 15:07:12 2010 +0800 |
committer | Anton Vorontsov <cbouatmailru@gmail.com> | Tue Sep 28 15:16:23 2010 +0400 |
tree | 25b981b6a69939276f3d551b77b34589ba936e7b | |
parent | 7cfbb29466633e6ecdc14f76a693c8478c2b22af [diff] [blame] |
ds2760_battery: Add missing kfree(di) in ds2760_battery_remove() Signed-off-by: Axel Lin <axel.lin@gmail.com> Signed-off-by: Anton Vorontsov <cbouatmailru@gmail.com>
diff --git a/drivers/power/ds2760_battery.c b/drivers/power/ds2760_battery.c index 4d3b272..b3c01c1 100644 --- a/drivers/power/ds2760_battery.c +++ b/drivers/power/ds2760_battery.c
@@ -586,6 +586,7 @@ &di->set_charged_work); destroy_workqueue(di->monitor_wqueue); power_supply_unregister(&di->bat); + kfree(di); return 0; }