mirror of
https://gitlab.freedesktop.org/libfprint/libfprint.git
synced 2026-09-10 21:06:51 +00:00
aes1610: Fix strips memory leak
This commit is contained in:
committed by
Marco Trevisan
parent
791d17e4c3
commit
c3244f38dc
@@ -791,7 +791,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;
|
||||||
self->blanks_count = 0;
|
self->blanks_count = 0;
|
||||||
|
|||||||
Reference in New Issue
Block a user