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