diff options
-rw-r--r-- | hcid/device.c | 4 |
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); |