[PATCH 01/24] mtd/maps/pismo: remove dangling pointer and a leak

Russell King rmk+lkml at arm.linux.org.uk
Sat Mar 20 11:41:13 EDT 2010


On Sat, Mar 20, 2010 at 04:31:46PM +0100, Wolfram Sang wrote:
> Subject: [PATCH V2] mtd/maps/pismo: remove dangling pointer and a leak
> 
> While looking for drivers which forgot to clear i2c_clientdata before freeing
> the data structure it points to, I found that the pismo driver even has a leak
> on the probe error path.
> 
> Signed-off-by: Wolfram Sang <w.sang at pengutronix.de>
> Cc: Russell King <rmk+kernel at arm.linux.org.uk>

Thanks.

Acked-by: Russell King <rmk+kernel at arm.linux.org.uk>

David, are you going to pick this up?

-- 
Russell King
 Linux kernel    2.6 ARM Linux   - http://www.arm.linux.org.uk/
 maintainer of:



More information about the linux-mtd mailing list