Skip to contentSkip to conversation

: drivers/acorn/char/pcf8583.c

PATCH New [email protected] 1 participant 1 message Aug 24, 2002

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 : drivers/acorn/char/pcf8583.c

trivial patch to fix memory leak

--
Silvio

drivers/acorn/char/pcf8583.c +1 -0
@@ -73,6 +73,7 @@
 pcf8583_detach(struct i2c_client *client)
 {
 	i2c_detach_client(client);
+	kfree(client);
 	return 0;
 }