Commit: 5b613d117468dfd95f7de0f022628d150b7c9107
Parent: 5c50f0409882ad775b53793297a78dd2b9bdb1c0
Author: Johan Hedberg <johan.hedberg@intel.com>
Committer: Marcel Holtmann <marcel@holtmann.org>
Date: 2012-12-04 23:22:02
Tree: c51fa8a431ca00a1868e05310e30ab729470ecc1

gobex: Protect against user callback freeing internal objects A user callback could potentially do things like g_obex_cancel_request or g_obex_unref while we are inside the IO watch callback. It is therefore important to ensure that we are in a consistent state when the user callback returns.

Diffstat

M gobex/gobex.c | 21 ++++++++++++++++++- - -

1 files changed, 18 insertions(+), 3 deletions(-)

View Full Diff | Patch