diff options
author | Prabhakar Kushwaha <prabhakar@freescale.com> | 2012-04-10 22:48:27 +0000 |
---|---|---|
committer | Scott Wood <scott@tyr.buserror.net> | 2012-05-18 18:15:24 -0500 |
commit | 76d067ac33947f08fbbdea27bae5f3a263eda3f3 (patch) | |
tree | 7f0e3495f01ae90adf3913ba2dd17cd6c92dd259 /drivers/mtd/nand/nand_util.c | |
parent | 807fc702e0b09ac7bc335acfd3b0f54f9f08b643 (diff) | |
download | u-boot-imx-76d067ac33947f08fbbdea27bae5f3a263eda3f3.zip u-boot-imx-76d067ac33947f08fbbdea27bae5f3a263eda3f3.tar.gz u-boot-imx-76d067ac33947f08fbbdea27bae5f3a263eda3f3.tar.bz2 |
driver/mtd:IFC: Fix possible memory leak
if priv->bank >= MAX_BANK, priv should be freed before returning ENODEV.
Signed-off-by: Prabhakar Kushwaha <prabhakar@freescale.com>
Signed-off-by: Scott Wood <scott@tyr.buserror.net>
Diffstat (limited to 'drivers/mtd/nand/nand_util.c')
0 files changed, 0 insertions, 0 deletions