From: "Philippe Mathieu-Daudé" <philmd@linaro.org>
To: Mauro Matteo Cascella <mcascell@redhat.com>, qemu-devel@nongnu.org
Cc: laurent@vivier.eu
Subject: Re: [PATCH] nubus-device: fix memory leak in nubus_device_realize
Date: Fri, 23 Dec 2022 11:53:54 +0100 [thread overview]
Message-ID: <9ebc527e-f09d-e758-374f-83fbd607b1aa@linaro.org> (raw)
In-Reply-To: <20221222172915.671597-1-mcascell@redhat.com>
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>
next prev parent reply other threads:[~2022-12-23 10:54 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-12-22 17:29 [PATCH] nubus-device: fix memory leak in nubus_device_realize Mauro Matteo Cascella
2022-12-22 17:32 ` Laurent Vivier
2022-12-23 10:53 ` Philippe Mathieu-Daudé [this message]
2023-01-24 20:58 ` Mauro Matteo Cascella
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=9ebc527e-f09d-e758-374f-83fbd607b1aa@linaro.org \
--to=philmd@linaro.org \
--cc=laurent@vivier.eu \
--cc=mcascell@redhat.com \
--cc=qemu-devel@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).