Thread (2 messages) flat view 2 messages, 2 authors, 2011-10-03
STALE5460d

[PATCH] Fix Unref message after it was sent

From: Frédéric Danis <hidden>
Date: 2011-09-30 14:17:31
Subsystem: the rest · Maintainer: Linus Torvalds

---
 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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help