1
linux/drivers/mtd/devices
Mathias Krause f17f12ce9d mtd: phram: fix memory leak
Commit 4f678a58 (mtd: fix memory leaks in phram_setup) missed two cases
where the memory allocated for name would be leaked. This commit frees
the memory when register_device() fails and on unregister_devices().

Signed-off-by: Mathias Krause <minipli@googlemail.com>
Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
2011-03-11 14:22:43 +00:00
..
block2mtd.c block: clean up blkdev_get() wrappers and their users 2010-11-13 11:55:18 +01:00
doc2000.c
doc2001.c
doc2001plus.c
docecc.c mtd: Remove obsolete <mtd/compatmac.h> include 2010-08-08 21:19:42 +01:00
docprobe.c mtd: Remove obsolete <mtd/compatmac.h> include 2010-08-08 21:19:42 +01:00
Kconfig Kconfig: Remove useless and sometimes wrong comments 2009-11-09 09:40:56 +01:00
lart.c Update broken web addresses in the kernel. 2010-10-18 11:03:14 +02:00
m25p80.c mtd: m25p80: add support for the EON EN25F32 chip 2011-03-11 14:22:42 +00:00
Makefile mtd: small typo in Makefile 2010-03-18 07:53:16 +00:00
ms02-nv.c
ms02-nv.h
mtd_dataflash.c mtd: dataflash: remove casts from void 2010-08-02 09:05:46 +01:00
mtdram.c mtd: mtdram: initialize writebufsize field 2011-03-11 14:22:42 +00:00
phram.c mtd: phram: fix memory leak 2011-03-11 14:22:43 +00:00
pmc551.c mtd: Remove obsolete <mtd/compatmac.h> include 2010-08-08 21:19:42 +01:00
slram.c tree-wide: fix assorted typos all over the place 2009-12-04 15:39:55 +01:00
sst25l.c mtd: fix section mismatch on sst25l 2010-12-03 16:34:55 +00:00