Sidney Amani 56b04e3e8b UBIFS: fix memory leak on error path
UBIFS leaks memory on error path in 'mount_ubifs()'. In case of failure in
'ubifs_fixup_free_space()', it does not call 'ubifs_lpt_free()' whereas LPT
data structures can potentially be allocated. The amount of memory leaked can
be quite high -- see 'ubifs_lpt_init()'.

The bug was introduced when moving the LPT initialisation earlier in the
mount process (commit '781c5717a95a74b294beb38b8276943b0f8b5bb4').

Signed-off-by: Sidney Amani <seed95@gmail.com>
Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
2012-05-20 20:19:08 +03:00
..
2012-05-16 20:11:23 +03:00
2008-12-31 14:13:24 +02:00
2012-05-16 20:11:23 +03:00
2012-05-16 20:11:23 +03:00
2012-05-16 19:53:46 +03:00
2012-05-16 19:15:56 +03:00
2012-05-16 19:15:56 +03:00
2012-01-03 22:52:40 -05:00
2012-05-16 19:15:56 +03:00
2012-05-16 19:53:46 +03:00
2012-05-16 19:53:46 +03:00
2012-05-16 20:11:23 +03:00
2012-05-16 19:15:56 +03:00
2011-07-04 10:54:33 +03:00
2012-05-16 20:11:23 +03:00
2012-05-16 20:11:23 +03:00
2012-05-16 20:11:23 +03:00
2012-05-16 19:53:46 +03:00
2012-05-16 20:11:23 +03:00
2012-05-20 20:19:08 +03:00
2012-05-16 20:11:23 +03:00
2012-05-16 19:53:46 +03:00
2012-05-16 19:53:46 +03:00
2012-05-16 20:11:23 +03:00