[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH] change free() to g_free() to pair with g_malloc
From: |
Andreas Färber |
Subject: |
Re: [Qemu-devel] [PATCH] change free() to g_free() to pair with g_malloc() series. |
Date: |
Mon, 17 Oct 2011 13:11:45 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:7.0) Gecko/20110922 Thunderbird/7.0 |
Am 17.10.2011 12:03, schrieb Ray Wang:
> Signed-off-by: Ray Wang <address@hidden>
> ---
> 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