forked from OERV-BSP/u-boot
bootstd: rauc: Free private data when booting
The private data struct can be freed when loading the boot script, as we don't need the slot information anymore at this point. Signed-off-by: Martin Schwan <m.schwan@phytec.de> Tested-by: Wadim Egorov <w.egorov@phytec.de>
This commit is contained in:
@@ -409,6 +409,8 @@ static int distro_rauc_boot(struct udevice *dev, struct bootflow *bflow)
|
||||
if (ret)
|
||||
return log_msg_ret("boot", ret);
|
||||
|
||||
distro_rauc_priv_free(priv);
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user