From 498e423457a0360c01d976aa21a218995a1bdef8 Mon Sep 17 00:00:00 2001 From: Martin Schwan Date: Wed, 13 Aug 2025 13:54:08 +0200 Subject: [PATCH] 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 Tested-by: Wadim Egorov --- boot/bootmeth_rauc.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/boot/bootmeth_rauc.c b/boot/bootmeth_rauc.c index f781a7fc0b5..9c082dabd2b 100644 --- a/boot/bootmeth_rauc.c +++ b/boot/bootmeth_rauc.c @@ -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; } -- 2.47.2