[PATCH TRIVIAL]: drivers/acorn/char/pcf8583.c

silvio@qualys.com
Sat, 24 Aug 2002 03:06:46 -0700


--WYTEVAkct0FjGQmd
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

trivial patch to fix memory leak

--
Silvio

--WYTEVAkct0FjGQmd Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="patch.linux4"

--- linux-2.4.19/drivers/acorn/char/pcf8583.c Fri Mar 2 18:38:37 2001 +++ linux-2.4.19-dev/drivers/acorn/char/pcf8583.c Sat Aug 24 02:35:07 2002 @@ -73,6 +73,7 @@ pcf8583_detach(struct i2c_client *client) { i2c_detach_client(client); + kfree(client); return 0; }

--WYTEVAkct0FjGQmd-- - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/