mirror of
https://github.com/morgan9e/libfprint-fpc1020
synced 2026-04-14 00:14:16 +09:00
synaptics: Add null check to prevent g_propagate_error assertion failure
This commit is contained in:
@@ -652,7 +652,8 @@ identify_complete_after_finger_removal (FpiDeviceSynaptics *self, GError *error)
|
||||
if (self->finger_on_sensor)
|
||||
{
|
||||
fp_dbg ("delaying identify report until after finger removal!");
|
||||
g_propagate_error (&self->delay_error, error);
|
||||
if (error)
|
||||
g_propagate_error (&self->delay_error, error);
|
||||
|
||||
self->cmd_complete_on_removal = TRUE;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user