aboutsummaryrefslogtreecommitdiff
path: root/lib/test-string_helpers.c
diff options
context:
space:
mode:
authorRichard Weinberger <[email protected]>2014-11-06 16:47:49 +0100
committerArtem Bityutskiy <[email protected]>2014-11-07 13:42:43 +0200
commitaa5ad3b6eb8feb2399a5d26c8fb0060561bb9534 (patch)
tree02354b3ea14e9d5aad2b543ffc9ea0b320298de0 /lib/test-string_helpers.c
parenta76284e6f89b2ae37d413fe793752257be01765a (diff)
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: <[email protected]> Signed-off-by: Richard Weinberger <[email protected]> Signed-off-by: Artem Bityutskiy <[email protected]>
Diffstat (limited to 'lib/test-string_helpers.c')
0 files changed, 0 insertions, 0 deletions