mirror of
https://gitlab.freedesktop.org/libfprint/libfprint.git
synced 2025-11-15 07:38:12 +00:00
vfs5011: Unset the recorded rows list when freeing them
Ensure that we unset the rows list when closing the device, so that we won't try to append to invalid rows list new ones again.
This commit is contained in:
@@ -821,7 +821,7 @@ dev_close (FpImageDevice *dev)
|
||||
0, 0, &error);
|
||||
|
||||
g_free (self->capture_buffer);
|
||||
g_slist_free_full (self->rows, g_free);
|
||||
g_slist_free_full (g_steal_pointer (&self->rows), g_free);
|
||||
|
||||
fpi_image_device_close_complete (dev, error);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user