Commit ed5339c4 authored by Marco Trevisan's avatar Marco Trevisan
Browse files

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.
parent 2d10d864
......@@ -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);
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment