Fix wrong free the static address
PATCH 1/1 Fix wrong free the static address
[MTD] [OneNAND] Fix wrong free the static address
Reported-by Randy Dunlap <[email protected]>
Signed-off-by Kyungmin Park <[email protected]>
---
drivers/mtd/onenand/onenand_sim.c +0 -1
@@ -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 )