commit | a9c4e4a0aec81cecbc2bded149b924028953a952 | [log] [tgz] |
---|---|---|
author | Luiz Augusto von Dentz <luiz.dentz@openbossa.org> | Thu Nov 12 18:12:26 2009 -0300 |
committer | Johan Hedberg <johan.hedberg@nokia.com> | Fri Nov 13 00:36:53 2009 +0200 |
tree | 6641307474960cf499cb5d3158275f9749554371 | |
parent | 37b02c1ef9be4f989c9ad5e511f519d35f2bc088 [diff] |
Fix regression introduced by 37b02c1ef9be4f989c9ad5e511f519d35f2bc088 device->authr cannot be reset to NULL in initiator case as it is needed by device_is_authenticating. So instead of reseting device->authr just reset both device->authr->cb and device->authr->agent to NULL, this fix the regression since the original problem was device->authr->agent pointing to freed memory.