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 <dbarb...@ventanamicro.com> --- hw/riscv/virt.c | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-)
Reviewed-by: Philippe Mathieu-Daudé <phi...@linaro.org>