UBIFS: fix a memory leak on error path.
authorMatthieu CASTET <matthieu.castet@parrot.com>
Mon, 2 Aug 2010 09:36:06 +0000 (11:36 +0200)
committerArtem Bityutskiy <Artem.Bityutskiy@nokia.com>
Tue, 3 Aug 2010 05:58:09 +0000 (08:58 +0300)
commitc18de72fb3c72fdc5ca883910761af3f14d90d76
tree52a5a452b4c5ccafec443013dda03da8343eab0d
parent6fb4374f6b1b3932f3acfe9d353568d3d8599cad
UBIFS: fix a memory leak on error path.

In 'mount_ubifs()', in case of 'ubifs_leb_unmap()' falure,
free allocated resources.

Signed-off-by: Matthieu CASTET <matthieu.castet@parrot.com>
Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
fs/ubifs/super.c