[PATCH 2/4] bootstd: rauc: Don't null bootflow->bootmeth_priv
Martin Schwan
m.schwan at phytec.de
Wed Aug 13 13:54:06 CEST 2025
Don't null bootflow->bootmeth_priv, as the private struct is freed later
on by the bootflow.
Signed-off-by: Martin Schwan <m.schwan at phytec.de>
---
boot/bootmeth_rauc.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/boot/bootmeth_rauc.c b/boot/bootmeth_rauc.c
index a27c85c4ff07b88fd67d6a542c622840245dd397..c8efdce75b9134d1c329be40a1eecc57977ffff1 100644
--- a/boot/bootmeth_rauc.c
+++ b/boot/bootmeth_rauc.c
@@ -193,7 +193,6 @@ static int distro_rauc_read_bootflow(struct udevice *dev, struct bootflow *bflow
}
free(priv);
free(boot_order_copy);
- bflow->bootmeth_priv = NULL;
return ret;
}
--
2.50.1
More information about the U-Boot
mailing list