On 23/10/25 08:31, [email protected] wrote:
From: GuoHan Zhao <[email protected]>

The FirmwareLog object returned by qmp_query_firmware_log() was
not being freed, causing a memory leak.

Use g_autoptr to ensure the object is automatically freed when
it goes out of scope.

Fixes: c8aa8120313f ("hw/uefi: add 'info firmware-log' hmp monitor command.")
Signed-off-by: GuoHan Zhao <[email protected]>
---
  hw/uefi/ovmf-log.c | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)

Already merged as commit b6478122f059274b19805e14d12f76d2c0272ad4.

Reply via email to