diff options
author | Johan Hedberg <johan.hedberg@nokia.com> | 2007-08-11 22:04:43 +0000 |
---|---|---|
committer | Johan Hedberg <johan.hedberg@nokia.com> | 2007-08-11 22:04:43 +0000 |
commit | 9928a07a995d67f038f748cd05bec5147a9f3de2 (patch) | |
tree | 890f194c29f9e082169e539408d5ef3a1597483f | |
parent | 2edfb968d931f6ec83964aadb5883dd330b168a2 (diff) |
avdtp_get_internal should not increase the refcount
-rw-r--r-- | audio/avdtp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/audio/avdtp.c b/audio/avdtp.c index 0c4a16cf..387c74e5 100644 --- a/audio/avdtp.c +++ b/audio/avdtp.c @@ -1673,7 +1673,7 @@ static struct avdtp *avdtp_get_internal(bdaddr_t *src, bdaddr_t *dst) session = find_session(src, dst); if (session) - return avdtp_ref(session); + return session; session = g_new0(struct avdtp, 1); |