ChangeSet 1.977.29.3, 2003/03/31 15:25:48-08:00, greg@kroah.com [PATCH] i2c: fix memleak caused by my last patch fo the adv7175.c driver drivers/media/video/adv7175.c | 2 +- 1 files changed, 1 insertion(+), 1 deletion(-) diff -Nru a/drivers/media/video/adv7175.c b/drivers/media/video/adv7175.c --- a/drivers/media/video/adv7175.c Wed Apr 2 16:01:53 2003 +++ b/drivers/media/video/adv7175.c Wed Apr 2 16:01:53 2003 @@ -231,7 +231,7 @@ static int adv717x_detach(struct i2c_client *client) { i2c_detach_client(client); - i2c_get_clientdata(client); + kfree(i2c_get_clientdata(client)); kfree(client); return 0; }