summaryrefslogtreecommitdiffstats
path: root/audio/device.c
diff options
context:
space:
mode:
Diffstat (limited to 'audio/device.c')
-rw-r--r--audio/device.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/audio/device.c b/audio/device.c
index c9608b96..2f5f834f 100644
--- a/audio/device.c
+++ b/audio/device.c
@@ -311,7 +311,9 @@ void device_finish_sdp_transaction(struct audio_device *dev)
dbus_message_append_args(msg, DBUS_TYPE_STRING, &addr_ptr,
DBUS_TYPE_INVALID);
- send_message_and_unref(dev->conn, msg);
+ dbus_connection_send(dev->conn, msg, NULL);
+
+ dbus_message_unref(msg);
}
#if 0