mirror of
https://github.com/morgan9e/libfprint-fpc1020
synced 2026-04-14 00:14:16 +09:00
realtek: Do not leak an error
Found by scan-build.
This commit is contained in:
committed by
Marco Trevisan
parent
d878148b5e
commit
61f9346aaf
@@ -249,9 +249,8 @@ fp_identify_feature_cb (FpiDeviceRealtek *self,
|
||||
|
||||
if (in_status >= FP_RTK_TOO_HIGH && in_status <= FP_RTK_MERGE_FAILURE)
|
||||
{
|
||||
GError *retry_error = fpi_device_retry_new (FP_DEVICE_RETRY_GENERAL);
|
||||
retry_error = fpi_device_retry_new (FP_DEVICE_RETRY_GENERAL);
|
||||
fpi_ssm_mark_failed (self->task_ssm, retry_error);
|
||||
fpi_ssm_mark_failed (self->task_ssm,
|
||||
fpi_device_retry_new (FP_DEVICE_RETRY_GENERAL));
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user