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

Russell King rmk+lkml at arm.linux.org.uk
Sat Mar 20 10:57:30 EDT 2010


On Sat, Mar 20, 2010 at 03:12:42PM +0100, Wolfram Sang wrote:
> + exit_free:
> +	i2c_set_clientdata(client, NULL);
> +	kfree(prismo);

And this is a compile error...

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



More information about the linux-mtd mailing list