From 0472470e5059e702f0e7e69ee0155dfea11baa25 Mon Sep 17 00:00:00 2001 From: Marcel Holtmann Date: Fri, 6 Jun 2008 10:02:39 +0000 Subject: Fix one last reference to sending helper --- hcid/device.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/hcid/device.c b/hcid/device.c index 88f412c6..1c507329 100644 --- a/hcid/device.c +++ b/hcid/device.c @@ -1134,7 +1134,9 @@ proceed: dbus_message_append_args(reply, DBUS_TYPE_OBJECT_PATH, &device->path, DBUS_TYPE_INVALID); - send_message_and_unref(req->conn, reply); + dbus_connection_send(req->conn, reply, NULL); + + dbus_message_unref(reply); fail: dbus_message_unref(req->msg); -- cgit