diff options
author | Johan Hedberg <johan.hedberg@nokia.com> | 2008-10-06 02:56:51 +0200 |
---|---|---|
committer | Johan Hedberg <johan.hedberg@nokia.com> | 2008-10-06 02:56:51 +0200 |
commit | f427c9d8cf82678ce22344208404ab5d611baaf0 (patch) | |
tree | 9e993cd1af398d9bec03f5bda111ef6e1b742797 /audio/headset.c | |
parent | 76f7d0008dc16f327b998b22c0bea9510ccc2666 (diff) |
pending_connect_finalize() takes care of unreffing p->msg
Diffstat (limited to 'audio/headset.c')
-rw-r--r-- | audio/headset.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/audio/headset.c b/audio/headset.c index 7d227a7b..6de3934b 100644 --- a/audio/headset.c +++ b/audio/headset.c @@ -1190,11 +1190,8 @@ static void get_record_cb(sdp_list_t *recs, int err, gpointer user_data) return; failed_not_supported: - if (p->msg) { + if (p->msg) error_not_supported(dev->conn, p->msg); - dbus_message_unref(p->msg); - p->msg = NULL; - } failed: if (classes) sdp_list_free(classes, free); |