On 22/12/22 18:29, Mauro Matteo Cascella wrote:
Local variable "name" is allocated through strdup_printf and should be freed with g_free() to avoid memory leak.Fixes: 3616f424 ("nubus-device: add romfile property for loading declaration ROMs") Signed-off-by: Mauro Matteo Cascella <mcasc...@redhat.com> --- hw/nubus/nubus-device.c | 1 + 1 file changed, 1 insertion(+)
Reviewed-by: Philippe Mathieu-Daudé <phi...@linaro.org>