state: backend_bucket_circular: fix double free()
The function state_mtd_peb_read() is only a user of buf and not its owner, hence
it may not deallocate it.

Signed-off-by: Kim Christensen <>
Reviewed-by: Ulrich Ölmann <>
Reviewed-by: Uwe Kleine-König <>
Signed-off-by: Roland Hieber <>
1 parent d1e4783 commit 634317cc91202304c1477a6d738d7c7691b80419
@Kim Christensen Kim Christensen authored on 18 Sep 2019
Roland Hieber committed on 23 Sep 2019
Showing 1 changed file