mirror of
https://gitlab.freedesktop.org/libfprint/libfprint.git
synced 2026-09-10 13:00:08 +00:00
uru4000: Unset allocated data on completion
This commit is contained in:
committed by
Marco Trevisan
parent
657c764b73
commit
2e2ba8b227
@@ -1207,6 +1207,12 @@ init_run_state (FpiSsm *ssm, FpDevice *_dev)
|
|||||||
static void
|
static void
|
||||||
activate_initsm_complete (FpiSsm *ssm, FpDevice *dev, GError *error)
|
activate_initsm_complete (FpiSsm *ssm, FpDevice *dev, GError *error)
|
||||||
{
|
{
|
||||||
|
FpiDeviceUru4000 *self = FPI_DEVICE_URU4000 (dev);
|
||||||
|
|
||||||
|
g_clear_pointer (&self->scanpwr_irq_timeout, g_source_destroy);
|
||||||
|
self->irq_cb_data = NULL;
|
||||||
|
self->irq_cb = NULL;
|
||||||
|
|
||||||
fpi_image_device_activate_complete (FP_IMAGE_DEVICE (dev), error);
|
fpi_image_device_activate_complete (FP_IMAGE_DEVICE (dev), error);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user