mirror of
https://git.kernel.org/pub/scm/bluetooth/bluez.git
synced 2024-12-14 22:44:35 +08:00
95c09761fd
If the owner disconnects the session should be destroyed even if the connection is pending: obexd/client/session.c:owner_disconnected() obexd/client/session.c:obc_session_shutdown() 0x822abb8 obexd/client/session.c:obc_session_ref() 0x822abb8: ref=3 obexd/client/session.c:obc_session_unref() 0x822abb8: ref=2 obexd/client/bluetooth.c:transport_connect() port 19 obexd/client/bluetooth.c:transport_callback() obexd/client/session.c:transport_func() obexd/client/bluetooth.c:bluetooth_getpacketopt() obexd/client/pbap.c:pbap_probe() /org/bluez/obex/client/session1 obexd/client/session.c:obc_session_ref() 0x822abb8: ref=3 obexd/client/session.c:obc_session_register() Session(0x822abb8) registered /org/bluez/obex/client/session1 obexd/client/session.c:obc_session_unref() 0x822abb8: ref=2 To fix this the code now checks if the connect callback is pending, in that case destroy the callback releasing the reference it carrying. |
||
---|---|---|
.. | ||
bluetooth.c | ||
bluetooth.h | ||
dbus.c | ||
dbus.h | ||
driver.c | ||
driver.h | ||
ftp.c | ||
ftp.h | ||
manager.c | ||
manager.h | ||
map-event.c | ||
map-event.h | ||
map.c | ||
map.h | ||
mns.c | ||
opp.c | ||
opp.h | ||
pbap.c | ||
pbap.h | ||
session.c | ||
session.h | ||
sync.c | ||
sync.h | ||
transfer.c | ||
transfer.h | ||
transport.c | ||
transport.h |