|
From: | Philippe Mathieu-Daudé |
Subject: | Re: [PATCH 3/7] hw/riscv/virt.c: use g_autofree in create_fdt_socket_cpus() |
Date: | Tue, 23 Jan 2024 06:42:47 +0100 |
User-agent: | Mozilla Thunderbird |
On 22/1/24 23:15, Daniel Henrique Barboza wrote:
Move all char pointers to the loop. Use g_autofree in all of them to avoid the g_free() calls. Signed-off-by: Daniel Henrique Barboza <dbarboza@ventanamicro.com> --- hw/riscv/virt.c | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-)
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
[Prev in Thread] | Current Thread | [Next in Thread] |