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:
parent
2d10d864d8
commit
ed5339c4f5
1 changed files with 1 additions and 1 deletions
|
@ -821,7 +821,7 @@ dev_close (FpImageDevice *dev)
|
||||||
0, 0, &error);
|
0, 0, &error);
|
||||||
|
|
||||||
g_free (self->capture_buffer);
|
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);
|
fpi_image_device_close_complete (dev, error);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue