UBI: Fastmap: Fix memory leak while attaching
authorRichard Weinberger <richard@nod.at>
Mon, 6 Oct 2014 13:39:01 +0000 (15:39 +0200)
committerRichard Weinberger <richard@nod.at>
Thu, 26 Mar 2015 21:45:57 +0000 (22:45 +0100)
commit98105d0819daf569e741ddfba73cedcac371b9d8
treed7d8d733667e273cbd5e34e286fc3e85445d7377
parent84b678f497c6eda650f0640bd7cf165e2c1acb49
UBI: Fastmap: Fix memory leak while attaching

Currently we leak a few ubi_ainf_pebs while attaching.

Signed-off-by: Richard Weinberger <richard@nod.at>
drivers/mtd/ubi/attach.c
drivers/mtd/ubi/fastmap.c