* [PATCH] [MTD] [OneNAND] Fix wrong free the static address
@ 2007-10-22 2:01 Kyungmin Park
0 siblings, 0 replies; only message in thread
From: Kyungmin Park @ 2007-10-22 2:01 UTC (permalink / raw)
To: dwmw2; +Cc: linux-mtd
[MTD] [OneNAND] Fix wrong free the static address
Reported-by: Randy Dunlap <randy.dunlap@oracle.com>
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
---
diff --git a/drivers/mtd/onenand/onenand_sim.c b/drivers/mtd/onenand/onenand_sim.c
index 0d89ad5..288cbd7 100644
--- a/drivers/mtd/onenand/onenand_sim.c
+++ b/drivers/mtd/onenand/onenand_sim.c
@@ -424,7 +424,6 @@ static void flash_exit(struct onenand_flash *flash)
{
vfree(ONENAND_CORE(flash));
kfree(flash->base);
- kfree(flash);
}
static int __init onenand_sim_init(void)
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2007-10-22 2:01 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-10-22 2:01 [PATCH] [MTD] [OneNAND] Fix wrong free the static address Kyungmin Park
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.