Re: [PATCH] UBI: Fix double free after do_sync_erase()
From
Artem Bityutskiy <>
Date
Fri, 07 Nov 2014 13:50:43 +0200
On Thu, 2014-11-06 at 16:47 +0100, Richard Weinberger wrote: > If the erase worker is unable to erase a PEB it will > free the ubi_wl_entry itself. > The failing ubi_wl_entry must not free()'d again after > do_sync_erase() returns. > > Cc: <stable@vger.kernel.org> > Signed-off-by: Richard Weinberger <richard@nod.at>