qemu-riscv
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH 6/7] hw/riscv/virt.c: use g_autofree in virt_machine_init()


From: Philippe Mathieu-Daudé
Subject: Re: [PATCH 6/7] hw/riscv/virt.c: use g_autofree in virt_machine_init()
Date: Tue, 23 Jan 2024 06:44:18 +0100
User-agent: Mozilla Thunderbird

On 22/1/24 23:15, Daniel Henrique Barboza wrote:
Move 'soc_name' to the loop, and give it g_autofree, to avoid the manual
g_free().

Signed-off-by: Daniel Henrique Barboza <dbarboza@ventanamicro.com>
---
  hw/riscv/virt.c | 5 ++---
  1 file changed, 2 insertions(+), 3 deletions(-)

Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>




reply via email to

[Prev in Thread] Current Thread [Next in Thread]