UBI: Fastmap: Fix memory leaks while closing the WL sub-system
authorRichard Weinberger <richard@nod.at>
Mon, 6 Oct 2014 12:42:01 +0000 (14:42 +0200)
committerRichard Weinberger <richard@nod.at>
Thu, 26 Mar 2015 21:45:48 +0000 (22:45 +0100)
commit74cdaf24004aea8de350f58979548b3eddc11e9a
treedb3caf95458bbd79caf909f1576a56867ed0e13c
parentc4ca6be9d67eaf5a53054903530c8f422b4b88bd
UBI: Fastmap: Fix memory leaks while closing the WL sub-system

Add a ubi_fastmap_close() to free all resources used by fastmap
at WL shutdown.

Signed-off-by: Richard Weinberger <richard@nod.at>
Tested-by: Guido Martínez <guido@vanguardiasur.com.ar>
Reviewed-by: Guido Martínez <guido@vanguardiasur.com.ar>
drivers/mtd/ubi/wl.c