Commit e277026b authored by Conor Dooley's avatar Conor Dooley
Browse files

firmware: microchip: move buffer allocation into mpfs_auto_update_set_image_address()



This buffer is used exclusively by mpfs_auto_update_set_image_address(),
so move the management of it there, employing the recently added cleanup
infrastructure to avoid littering the function with gotos.

Signed-off-by: default avatarConor Dooley <conor.dooley@microchip.com>
parent a2bf9dfe
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment