From: Richard Weinberger Date: Thu, 6 Nov 2014 15:47:49 +0000 (+0100) Subject: UBI: Fix double free after do_sync_erase() X-Git-Tag: omap-for-v3.19/fixes-rc1~114^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=aa5ad3b6eb8feb2399a5d26c8fb0060561bb9534;p=pandora-kernel.git UBI: Fix double free after do_sync_erase() 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: Signed-off-by: Richard Weinberger Signed-off-by: Artem Bityutskiy --- Reading git-diff-tree failed