On 2026-07-03T09:11:23, Peng Fan <[email protected]> wrote: > dm: core: free fdt when fdt_create_empty_tree failure > > If fdt_create_empty_tree fails, the malloc-ed fdt buffer is never freed. > Add free before the error return. > > Signed-off-by: Peng Fan <[email protected]> > Reviewed-by: Raphaƫl Gallais-Pou <[email protected]> > > drivers/core/ofnode.c | 4 +++- > 1 file changed, 3 insertions(+), 1 deletion(-)
Reviewed-by: Simon Glass <[email protected]>

