|
From: | Philippe Mathieu-Daudé |
Subject: | Re: [PATCH] nubus-device: fix memory leak in nubus_device_realize |
Date: | Fri, 23 Dec 2022 11:53:54 +0100 |
User-agent: | Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:102.0) Gecko/20100101 Thunderbird/102.6.0 |
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 <mcascell@redhat.com> --- hw/nubus/nubus-device.c | 1 + 1 file changed, 1 insertion(+)
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
[Prev in Thread] | Current Thread | [Next in Thread] |