On Thu, Jul 09, 2026 at 03:12:49PM +0400, [email protected] wrote:
> Date: Thu,  9 Jul 2026 15:12:49 +0400
> From: [email protected]
> Subject: [PATCH] hw/core/machine: fix fdt memory leak
> 
> From: Marc-André Lureau <[email protected]>
> 
> The MachineState fdt field is allocated by various machine types via
> create_device_tree(), load_device_tree(), or similar, but was never
> freed in machine_finalize(). Add the missing g_free() call.
> 
> Signed-off-by: Marc-André Lureau <[email protected]>
> ---
>  hw/core/machine.c | 1 +
>  1 file changed, 1 insertion(+)

Reviewed-by: Zhao Liu <[email protected]>


Reply via email to