| commit | 1afac11f51b27e99f31ff8c8ad7cde2ffb285631 | [log] [tgz] |
|---|---|---|
| author | Håkan Kvist <hakan.kvist@sony.com> | Wed Jun 01 22:03:59 2022 +0200 |
| committer | Håkan Kvist <hakan.kvist@sony.com> | Thu Jun 09 16:49:47 2022 +0200 |
| tree | 27b32ab4c020f4ac12955c68392be95400e0dd95 | |
| parent | c2e4fd38965d5fe03747405b2fcf80ebc18a9df3 [diff] |
Remove goto statements
Use of goto is highly discouraged, so remove it.
Use unique_ptr where possible to ensure that memory is freed properly
Bug: 234349374
Test: manual, use bootctl to
get current slot
set active slot _a/_b, then dump and compare gpt tables
set successful boot _a/_b, then dump and compare gpt tables
Change-Id: I86b30d58efda9552057cf92499b329eeef530ef8