[U-Boot] driver/mtd:IFC: Fix possible memory leak

Scott Wood scottwood at freescale.com
Sat May 19 01:16:12 CEST 2012


On Tue, Apr 10, 2012 at 10:48:27PM -0000, Prabhakar Kushwaha wrote:
> if priv->bank >= MAX_BANK, priv should be freed before returning ENODEV.
> 
> Signed-off-by: Prabhakar Kushwaha <prabhakar at freescale.com>
> 
> ---
> Based upon git://git.denx.de/u-boot.git branch master
> 
>  drivers/mtd/nand/fsl_ifc_nand.c |    1 +
>  1 files changed, 1 insertions(+), 0 deletions(-)

Applied to u-boot-nand-flash

-Scott



More information about the U-Boot mailing list