OSDN Git Service

obexd/session: Fix crash when disconnecting
authorLuiz Augusto von Dentz <luiz.von.dentz@intel.com>
Tue, 3 Nov 2015 11:12:22 +0000 (13:12 +0200)
committerLuiz Augusto von Dentz <luiz.von.dentz@intel.com>
Sun, 8 Nov 2015 18:07:51 +0000 (20:07 +0200)
commitc5a49786e316b997352d2b54dc7c201a21d16afc
tree5addcc8a13e8b634f93b8ff2a516c06abd27da7a
parent533fa76ecf0a6482cd4ca21f79cd3e506da6c622
obexd/session: Fix crash when disconnecting

If session owner disconnect from the bus while g_obex_connect is pending
it may lead to a crash since it is never canceled connected_cb may still
be called after callback_data is freed.
obexd/client/session.c