aes2510: Fix strips leak

This commit is contained in:
Marco Trevisan (Treviño)
2026-07-13 08:13:46 +00:00
committed by Marco Trevisan
parent c3244f38dc
commit b04c11963e
+1 -1
View File
@@ -822,7 +822,7 @@ complete_deactivation (FpImageDevice *dev)
* maybe we can do this with a master reset, unconditionally? */ * maybe we can do this with a master reset, unconditionally? */
self->deactivating = FALSE; self->deactivating = FALSE;
g_slist_free (self->strips); g_slist_free_full (self->strips, g_free);
self->strips = NULL; self->strips = NULL;
self->strips_len = 0; self->strips_len = 0;
fpi_image_device_deactivate_complete (dev, NULL); fpi_image_device_deactivate_complete (dev, NULL);