linux/drivers/mtd/ubi
Artem Bityutskiy abc5e92262 UBI: fix memory leak
ubi_free_volume() function sets ubi->volumes[] to NULL, so
ubi_eba_close() is useless, it does not free what has to be freed.
So zap it and free vol->eba_tbl at the volume release function.

Pointed-out-by: Adrian Hunter <ext-adrian.hunter@nokia.com>
Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
2008-07-24 13:32:54 +03:00
..
build.c UBI: fix memory leak 2008-07-24 13:32:54 +03:00
cdev.c UBI: avoid unnecessary division operations 2008-07-24 13:32:54 +03:00
debug.c UBI: use byte hexdump 2007-10-14 13:10:21 +03:00
debug.h Merge git://git.infradead.org/~dedekind/ubi-2.6 2008-04-23 09:57:25 +01:00
eba.c UBI: fix memory leak 2008-07-24 13:32:54 +03:00
gluebi.c UBI: initialize static volumes with vol->used_bytes 2008-04-17 11:32:02 +03:00
io.c UBI: be verbose when debuggin is enabled 2008-04-17 11:31:58 +03:00
kapi.c UBI: avoid unnecessary division operations 2008-07-24 13:32:54 +03:00
Kconfig UBI: improve Kconfig documentation 2008-04-17 11:32:00 +03:00
Kconfig.debug UBI: Unsorted Block Images 2007-04-27 14:23:33 +03:00
Makefile UBI: Unsorted Block Images 2007-04-27 14:23:33 +03:00
misc.c UBI: avoid unnecessary division operations 2008-07-24 13:32:54 +03:00
scan.c UBI: fix mean EC calculation 2008-04-19 20:49:41 +03:00
scan.h UBI: fix mean EC calculation 2008-04-19 20:49:41 +03:00
ubi-media.h UBI: make ubi-header.h local 2008-04-17 11:31:58 +03:00
ubi.h UBI: fix memory leak 2008-07-24 13:32:54 +03:00
upd.c UBI: fix buffer padding 2008-07-24 13:32:54 +03:00
vmt.c UBI: fix memory leak 2008-07-24 13:32:54 +03:00
vtbl.c UBI: avoid unnecessary division operations 2008-07-24 13:32:54 +03:00
wl.c UBI: avoid unnecessary division operations 2008-07-24 13:32:54 +03:00