From: "Andreas Färber" <afaerber@suse.de>
To: Ray Wang <raywang@linux.vnet.ibm.com>
Cc: qemu-trivial@nongnu.org, qemu-devel@nongnu.org
Subject: Re: [Qemu-trivial] [Qemu-devel] [PATCH] change free() to g_free() to pair with g_malloc() series.
Date: Mon, 17 Oct 2011 13:11:45 +0200 [thread overview]
Message-ID: <4E9C0D71.6000408@suse.de> (raw)
In-Reply-To: <1318845836-30088-1-git-send-email-raywang@linux.vnet.ibm.com>
Am 17.10.2011 12:03, schrieb Ray Wang:
> Signed-off-by: Ray Wang <raywang@linux.vnet.ibm.com>
> ---
> block/dmg.c | 14 +++++++-------
> target-arm/helper.c | 2 +-
> 2 files changed, 8 insertions(+), 8 deletions(-)
> diff --git a/target-arm/helper.c b/target-arm/helper.c
> index e2428eb..2b17dc9 100644
> --- a/target-arm/helper.c
> +++ b/target-arm/helper.c
> @@ -471,7 +471,7 @@ static uint32_t cpu_arm_find_by_name(const char *name)
>
> void cpu_arm_close(CPUARMState *env)
> {
> - free(env);
> + g_free(env);
> }
>
> uint32_t cpsr_read(CPUARMState *env)
For this last part I had already sent a patch.
Andreas
--
SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany
GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer; HRB 16746, AG Nürnberg
prev parent reply other threads:[~2011-10-17 11:12 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-10-17 10:03 [Qemu-trivial] [Qemu-devel][PATCH] change free() to g_free() to pair with g_malloc() series Ray Wang
2011-10-17 11:11 ` Andreas Färber [this message]
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=4E9C0D71.6000408@suse.de \
--to=afaerber@suse.de \
--cc=qemu-devel@nongnu.org \
--cc=qemu-trivial@nongnu.org \
--cc=raywang@linux.vnet.ibm.com \
/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).