Commit: 296e697160904a8840747008a5c02a996bd51c1a
Parent: 170dcc96a5948a8dc98e261c9e6912e5ff460a8c
Author: Luiz Augusto Von Dentz <luiz.dentz-von@nokia.com>
Committer: Marcel Holtmann <marcel@holtmann.org>
Date: 2012-12-04 23:48:12
Tree: 1b472400368e44e41b656e3053d8a8081462864e

obexd: Fix agent not being released after transfers complete This requession was introduced by d57bffe46b71e17a640c11b389dd6da95f933729 that add another reference to the session for the agent. To fix this a rework on refcount was done so that transfer now hold references to the session and once done they release the references one by one.

Diffstat

M obexd/client/main.c | 3 ++-
M obexd/client/pbap.c | 31 ++++++++++++++++- - - - - - - - - - - - - - -
M obexd/client/session.c | 1008 ++++++++++++++++++++++++++++++++++++++++- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
M obexd/client/session.h | 32 +++++++++++++++++++++- - - - - - - - - - -
M obexd/client/sync.c | 8 ++++- - - -

5 files changed, 524 insertions(+), 558 deletions(-)

View Full Diff | Patch