Skip to contentSkip to conversation

Fix wrong free the static address

PATCH New Kyungmin Park 1 participant 1 message Oct 22, 2007 Memory technology devices (MTD)

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Fix wrong free the static address

[MTD] [OneNAND] Fix wrong free the static address

---

drivers/mtd/onenand/onenand_sim.c +0 -1
index 0d89ad5..288cbd7 100644
@@ -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)