Fix Unref message after it was sent
PATCH 1/1 Fix Unref message after it was sent
--- audio/gateway.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-)
audio/gateway.c +1 -0
@@ -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; }
Signature · 1 line
1.7.1
Johan Hedberg
AppliedHi Frédéric,
Quoted 9 lines · Frédéric Danis
--- audio/gateway.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-)audio/gateway.c +0
-0
audio/gateway.c static gboolean agent_sendfd(struct hf_agent *agent, int fd, · line 192
Quoted 7 lines
audio/gateway.c +1
-0@@ -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