summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Schwan <[email protected]>2025-08-13 13:54:06 +0200
committerTom Rini <[email protected]>2025-08-21 15:05:04 -0600
commitb389967f9a624b35c163767c34919cbdcd4e0917 (patch)
treec6458d448ac3e8adacbee3d5ab5ad1abb29c5413
parent074066790c7f726f149c1974e01b8b3f75738c73 (diff)
bootstd: rauc: Don't null bootflow->bootmeth_priv
Don't null bootflow->bootmeth_priv, as the private struct is freed later on by the bootflow. Signed-off-by: Martin Schwan <[email protected]> Tested-by: Wadim Egorov <[email protected]>
-rw-r--r--boot/bootmeth_rauc.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/boot/bootmeth_rauc.c b/boot/bootmeth_rauc.c
index a27c85c4ff0..c8efdce75b9 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;
}