[MTD] Use after free, found by the Coverity tool

Signed-off-by: Alexander Nyberg <alexn@dsv.su.se>
Signed-off-by: Joern Engel <joern@wohnheim.fh-wedel.de>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
This commit is contained in:
Joern Engel 2005-02-23 19:37:11 +00:00 committed by Thomas Gleixner
commit d30f11d225