Commit: 8de51036c192d973e76ba29e978040abcabc6b40
Parent: 63eb0e9084d824a18d4c31dec9eac4fa68a8f0be
Author: Anderson Lizardo <anderson.lizardo@openbossa.org>
Committer: Johan Hedberg <johan.hedberg@intel.com>
Date: 2013-07-30 12:50:49
Tree: e278a8542aec4cdd8c58862bcaab867ee89c711d

scanparam: Fix missing check for valid GAttrib when removing device If device is removed while there is no connection, scan->attrib will be NULL, because its reference is managed by attio connect/disconnect callbacks. This means that on disconnect any resources owned by GAttrib will be properly destroyed.

Diffstat

M profiles/scanparam/scan.c | 2 +-

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

View Full Diff | Patch