diff options
| author | Peng Fan <[email protected]> | 2026-07-03 17:11:24 +0800 |
|---|---|---|
| committer | Tom Rini <[email protected]> | 2026-07-16 12:03:05 -0600 |
| commit | e871bb2463fbd6c06b6d771d9201c6d6f4abf947 (patch) | |
| tree | d873650de0d65bb655c09081004c87092a43ad5e /scripts | |
| parent | e800cc67f5b6cb50a20f37c993ec1cd4063bdbd3 (diff) | |
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]>
Reviewed-by: Simon Glass <[email protected]>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions
