On 9/1/25 14:53, Alex Bennée wrote:
This is potentially more of a bike-shed case as node_path will persist until the end of the function.Signed-off-by: Alex Bennée <[email protected]> --- hw/arm/boot.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)
I think you should add blocking with this.
{
g_auto(GStrv) node_path = qemu_fdt_node_unit_path(...)
if (err) {
...
}
while (node_path[n]) {
...
}
}
r~
