test-device-fake: Consume the identify print if we're returning with error

This commit is contained in:
Marco Trevisan (Treviño)
2022-09-27 20:03:04 +02:00
parent 669e091b03
commit b04eed0aea

View File

@@ -187,6 +187,7 @@ fpi_device_fake_identify (FpDevice *device)
else else
{ {
fpi_device_identify_complete (device, fake_dev->ret_error); fpi_device_identify_complete (device, fake_dev->ret_error);
g_clear_object (&fake_dev->ret_print);
} }
} }