All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] Fix Unref message after it was sent
@ 2011-09-30 14:17 Frédéric Danis
  2011-10-03  8:55 ` Johan Hedberg
  0 siblings, 1 reply; 2+ messages in thread
From: Frédéric Danis @ 2011-09-30 14:17 UTC (permalink / raw)
  To: linux-bluetooth

---
 audio/gateway.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/audio/gateway.c b/audio/gateway.c
index 19c7ee3..1a1c035 100644
--- a/audio/gateway.c
+++ b/audio/gateway.c
@@ -186,6 +186,7 @@ static gboolean agent_sendfd(struct hf_agent *agent, int fd,
 
 	dbus_pending_call_set_notify(call, notify, dev, NULL);
 	dbus_pending_call_unref(call);
+	dbus_message_unref(msg);
 
 	return TRUE;
 }
-- 
1.7.1


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] Fix Unref message after it was sent
  2011-09-30 14:17 [PATCH] Fix Unref message after it was sent Frédéric Danis
@ 2011-10-03  8:55 ` Johan Hedberg
  0 siblings, 0 replies; 2+ messages in thread
From: Johan Hedberg @ 2011-10-03  8:55 UTC (permalink / raw)
  To: Frédéric Danis; +Cc: linux-bluetooth

Hi Frédéric,

On Fri, Sep 30, 2011, Frédéric Danis wrote:
> ---
>  audio/gateway.c |    1 +
>  1 files changed, 1 insertions(+), 0 deletions(-)
> 
> diff --git a/audio/gateway.c b/audio/gateway.c
> index 19c7ee3..1a1c035 100644
> --- a/audio/gateway.c
> +++ b/audio/gateway.c
> @@ -186,6 +186,7 @@ static gboolean agent_sendfd(struct hf_agent *agent, int fd,
>  
>  	dbus_pending_call_set_notify(call, notify, dev, NULL);
>  	dbus_pending_call_unref(call);
> +	dbus_message_unref(msg);
>  
>  	return TRUE;
>  }

Applied. Thanks.

Johan

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2011-10-03  8:55 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-09-30 14:17 [PATCH] Fix Unref message after it was sent Frédéric Danis
2011-10-03  8:55 ` Johan Hedberg

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.