From: Raphael Assenat I just discovered I forgot to call kfree on the struct max6902 I allocate in max6902_probe. Signed-off-by: Andrew Morton --- drivers/rtc/rtc-max6902.c | 2 ++ 1 files changed, 2 insertions(+) diff -puN drivers/rtc/rtc-max6902.c~add-max6902-rtc-support-update drivers/rtc/rtc-max6902.c --- 25/drivers/rtc/rtc-max6902.c~add-max6902-rtc-support-update Fri Jun 2 14:17:18 2006 +++ 25-akpm/drivers/rtc/rtc-max6902.c Fri Jun 2 14:17:21 2006 @@ -258,6 +258,8 @@ static int __devexit max6902_remove(stru if (rtc) rtc_device_unregister(rtc); + kfree(chip); + return 0; } _