Hi Dmitriy, On Thu, Nov 11, 2010, Dmitriy Paliy wrote: > Object and session data is separated in PBAP plugin. Reason is that > when OBEX session firstly makes disconnect of service_data, which > corresponds to session in pbap.c, it than closes object, which also > corresponds to session in pbap.c. > > Memory is deallocated after PBAP session is disconnected. When OBEX > driver closes the object, it is trying to dereference the deallocated > memory in order to free pbap->buffer data. > > Here object and session are separated, while pointers are created to > make one-to-one mapping. pbap_object is created in vobject_..._open > functions after query to tracker submitted. Session and object are > handled separately when freed. > --- > plugins/pbap.c | 94 +++++++++++++++++++++++++++++++++++--------------------- > 1 files changed, 59 insertions(+), 35 deletions(-) The patch has been pushed upstream. Thanks. Johan -- To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html