Artem Bityutskiy eaeee242c5 UBIFS: fix a rare memory leak in ro to rw remounting path
When re-mounting from R/O mode to R/W mode and the LEB count in the superblock
is not up-to date, because for the underlying UBI volume became larger, we
re-write the superblock. We allocate RAM for these purposes, but never free it.
So this is a memory leak, although very rare one.

Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
Cc: stable@kernel.org
2011-05-13 19:23:57 +03:00
..
2008-12-31 14:13:24 +02:00
2011-05-13 19:23:55 +03:00
2011-05-13 19:23:55 +03:00
2011-05-13 19:23:53 +03:00
2011-04-05 10:45:45 +03:00
2011-03-24 16:14:26 +02:00
2011-05-13 19:23:54 +03:00
2008-07-15 17:35:24 +03:00
2011-05-13 19:23:53 +03:00
2011-02-06 15:08:02 +02:00
2008-09-30 11:12:57 +03:00
2011-05-13 19:23:53 +03:00