summaryrefslogtreecommitdiffstats
path: root/hcid/device.c
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2008-06-06 10:02:39 +0000
committerMarcel Holtmann <marcel@holtmann.org>2008-06-06 10:02:39 +0000
commit0472470e5059e702f0e7e69ee0155dfea11baa25 (patch)
tree2947723a0b202b57c7111da4e3ac7f6c8eb00323 /hcid/device.c
parent52f1452d5dedfade299fa81b68fa759b13aa86d9 (diff)
Fix one last reference to sending helper
Diffstat (limited to 'hcid/device.c')
-rw-r--r--hcid/device.c4
1 files changed, 3 insertions, 1 deletions
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);