diff options
| author | Richard Weinberger <richard@nod.at> | 2014-11-06 16:47:49 +0100 |
|---|---|---|
| committer | Luis Henriques <luis.henriques@canonical.com> | 2015-01-05 13:48:37 +0000 |
| commit | 0bf780a2ca3128b8f2bf5d5e1e882cb1071843a2 (patch) | |
| tree | f4310e5339fcbf5d870902792f8ae013a513b43b /include | |
| parent | fca4638cf8bb1d7fe976e05f05976f111c393d99 (diff) | |
UBI: Fix double free after do_sync_erase()
commit aa5ad3b6eb8feb2399a5d26c8fb0060561bb9534 upstream.
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.
Signed-off-by: Richard Weinberger <richard@nod.at>
Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
Signed-off-by: Luis Henriques <luis.henriques@canonical.com>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions
