qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Igor Mammedov <imammedo@redhat.com>
To: Shannon Zhao <zhaoshenglong@huawei.com>
Cc: shannon.zhao@linaro.org, qemu-stable@nongnu.org,
	qemu-devel@nongnu.org, mst@redhat.com
Subject: Re: [Qemu-devel] [PATCH] hw/acpi/aml-build: Fix memory leak
Date: Mon, 25 May 2015 15:52:08 +0200	[thread overview]
Message-ID: <20150525155208.1c2291bc@nial.brq.redhat.com> (raw)
In-Reply-To: <1432538077-15712-1-git-send-email-zhaoshenglong@huawei.com>

On Mon, 25 May 2015 15:14:37 +0800
Shannon Zhao <zhaoshenglong@huawei.com> wrote:

CCing stable.
> From: Shannon Zhao <shannon.zhao@linaro.org>
> 
> Signed-off-by: Shannon Zhao <zhaoshenglong@huawei.com>
> Signed-off-by: Shannon Zhao <shannon.zhao@linaro.org>
> ---
>  hw/acpi/aml-build.c | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/hw/acpi/aml-build.c b/hw/acpi/aml-build.c
> index 323b7bc..9efef70 100644
> --- a/hw/acpi/aml-build.c
> +++ b/hw/acpi/aml-build.c
> @@ -306,6 +306,7 @@ static void aml_free(gpointer data, gpointer user_data)
>  {
>      Aml *var = data;
>      build_free_array(var->buf);
> +    g_free(var);
>  }
>  
>  Aml *init_aml_allocator(void)

      parent reply	other threads:[~2015-05-25 13:52 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-05-25  7:14 [Qemu-devel] [PATCH] hw/acpi/aml-build: Fix memory leak Shannon Zhao
2015-05-25 13:50 ` Igor Mammedov
2015-05-25 13:52 ` Igor Mammedov [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=20150525155208.1c2291bc@nial.brq.redhat.com \
    --to=imammedo@redhat.com \
    --cc=mst@redhat.com \
    --cc=qemu-devel@nongnu.org \
    --cc=qemu-stable@nongnu.org \
    --cc=shannon.zhao@linaro.org \
    --cc=zhaoshenglong@huawei.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).