[PATCH 59/62] mtd: phram: fix a double free issue in error path