Commit: e23dd0d9f0e63cf4e879df591f9a71c37df5300b
Parent: 06ade160b29007920b7586eae95a3b6f3ffda048
Author: Johan Hedberg <johan.hedberg@intel.com>
Committer: Johan Hedberg <johan.hedberg@intel.com>
Date: 2013-07-12 10:43:25
Tree: f2a410707f0de25dfa509c7ca20532691f85a541

core: Clear device->attrib pointer before calling g_attrib_cancel_all The g_attrib_cancel_all function may call functions such as find_included_cb that should at this point no longer have access to the GAttrib instance and try to do operations with it. Therefore it is safest to ensure that device->attrib is no longer available in these functions.

Diffstat

M src/device.c | 5 +++- -

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

View Full Diff | Patch