- fix memory leak during RAM MTD initialization - fix calculations for FILE MTD device with customized block and erase sizes Signed-off-by: Petro Karashchenko <petro.karashchenko@gmail.com>