summaryrefslogtreecommitdiffstats
path: root/audio/sink.c
diff options
context:
space:
mode:
authorJohan Hedberg <johan.hedberg@nokia.com>2007-08-12 13:31:27 +0000
committerJohan Hedberg <johan.hedberg@nokia.com>2007-08-12 13:31:27 +0000
commit0e46105aa473b7bdc4dfb80b0a0f7858404d94da (patch)
treefad4411ad5969eb902e20d74dd6d1309f79fb1f4 /audio/sink.c
parentb775db77fe965b6b1768d75198fc9dd201e83818 (diff)
Remove incorrect dbus_message_unref (pending_connect_free takes care of it already)
Diffstat (limited to 'audio/sink.c')
-rw-r--r--audio/sink.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/audio/sink.c b/audio/sink.c
index a660556d..ef31f89b 100644
--- a/audio/sink.c
+++ b/audio/sink.c
@@ -246,7 +246,6 @@ static DBusHandlerResult sink_connect(DBusConnection *conn,
err = avdtp_discover(sink->session, discovery_complete, data);
if (err < 0) {
- dbus_message_unref(c->msg);
pending_connect_free(c);
sink->c = NULL;
return err_connect_failed(conn, msg, strerror(err));