Parent: bff8882e6c4cb07def45148fb2a364d85a593994
Author: Johan Hedberg <johan.hedberg@nokia.com>
Committer: Marcel Holtmann <marcel@holtmann.org>
Date: 2012-12-04 23:47:53
Tree: 70ee07a52e417aa0e23c64faf36ac525bacfff7b
obexd: Change xfer callback and dc_cb order in the event of a disconnection This is mainly working around a bug in the gwobex API. Since it doesn't have proper refcounting the xfer callback can free the gwobex ctx and so the second callback fails. It could of course happen in the other direction too (dc_cb calls gw_obex_close) but since no known code is using dc_cb it's at least a little safer this way.
Diffstat
| M | obexd/gwobex/obex-priv.c | | | 4 | ++- - |
1 files changed, 2 insertions(+), 2 deletions(-)