Files
linux/drivers
Atsushi Nemoto e480814f13 [MTD] [MAPS] physmap: fix wrong free and del_mtd_{partition,device}
commit 176bf2e0f1 ("physmap: fix leak of
memory returned by parse_mtd_partitions") deals with a memory leak and
frees the pointer array of mtd_partition after the call to
add_mtd_partitions().  the problem is that mtd_table[x]->name still points
to the freed memory.

Aldo physmap_flash_remove() should call del_mtd_partitions() or
del_mtd_device() only once.

Signed-off-by: Atsushi Nemoto <anemo@mba.ocn.ne.jp>
Reported-by: Matthias Kaehlcke <matthias@kaehlcke.net>
Tested-by: Matthias Kaehlcke <matthias@kaehlcke.net>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
2009-02-14 08:06:20 +00:00
..
2009-01-08 16:29:41 +00:00
…
2009-01-06 15:59:30 -08:00
…
2009-01-08 08:31:15 -08:00
2009-01-09 03:39:43 -05:00
2009-01-09 22:44:30 +01:00
…
2009-01-08 12:38:58 +00:00
…
2009-01-09 03:39:43 -05:00
…
…
…
…
…
…