public inbox for linux-bluetooth@vger.kernel.org
 help / color / mirror / Atom feed
From: Johan Hedberg <johan.hedberg@gmail.com>
To: Claudio Takahasi <claudio.takahasi@openbossa.org>
Cc: linux-bluetooth@vger.kernel.org
Subject: Re: [PATCH] Fix memory leak of gattrib commands queue
Date: Thu, 16 Dec 2010 11:25:43 +0200	[thread overview]
Message-ID: <20101216092543.GC4322@jh-x301> (raw)
In-Reply-To: <1292443209-31156-1-git-send-email-claudio.takahasi@openbossa.org>

Hi Claudio,

On Wed, Dec 15, 2010, Claudio Takahasi wrote:
> ---
>  attrib/gattrib.c |    1 +
>  1 files changed, 1 insertions(+), 0 deletions(-)
> 
> diff --git a/attrib/gattrib.c b/attrib/gattrib.c
> index 4ed29d9..eace01b 100644
> --- a/attrib/gattrib.c
> +++ b/attrib/gattrib.c
> @@ -177,6 +177,7 @@ void g_attrib_unref(GAttrib *attrib)
>  	while ((c = g_queue_pop_head(attrib->queue)))
>  		command_destroy(c);
>  
> +	g_queue_free(attrib->queue);
>  	attrib->queue = NULL;
>  
>  	for (l = attrib->events; l; l = l->next)

Pushed upstream. Thanks.

Johan

      reply	other threads:[~2010-12-16  9:25 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-12-15 20:00 [PATCH] Fix memory leak of gattrib commands queue Claudio Takahasi
2010-12-16  9:25 ` Johan Hedberg [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=20101216092543.GC4322@jh-x301 \
    --to=johan.hedberg@gmail.com \
    --cc=claudio.takahasi@openbossa.org \
    --cc=linux-bluetooth@vger.kernel.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