mirror of
https://gitlab.freedesktop.org/libfprint/libfprint.git
synced 2025-11-15 07:38:12 +00: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