Commit e70f1205 authored by Dave Jones's avatar Dave Jones Committed by Linus Torvalds

[PATCH] fix leak in pcf8583

parent ba8bdc86
......@@ -73,6 +73,7 @@ static int
pcf8583_detach(struct i2c_client *client)
{
i2c_detach_client(client);
kfree(client);
return 0;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment