Re: [PATCH] drm/i2c: tda998x: fix memory leak in case of i2c error

2014-02-13 Thread Russell King - ARM Linux
On Thu, Feb 13, 2014 at 09:13:34AM +0100, Jean-Francois Moine wrote: > When the creation of the second i2c client was failing, the private > buffer was not freed. > > This bug was introduced by the commit 6ae668cc19e8 > 'drm/i2c: tda998x: check the CEC device creation' > > Signed-off-by: Jean-Fra

[PATCH] drm/i2c: tda998x: fix memory leak in case of i2c error

2014-02-13 Thread Jean-Francois Moine
When the creation of the second i2c client was failing, the private buffer was not freed. This bug was introduced by the commit 6ae668cc19e8 'drm/i2c: tda998x: check the CEC device creation' Signed-off-by: Jean-Francois Moine --- drivers/gpu/drm/i2c/tda998x_drv.c | 4 +++- 1 file changed, 3 ins