mirror of
https://gitlab.freedesktop.org/libfprint/libfprint.git
synced 2025-11-15 07:38:12 +00:00
lib: Fix memory leak in fpi_poll_exit()
The active_timers list was freed, but not the elements themselves.
This commit is contained in:
@@ -413,7 +413,7 @@ void fpi_poll_init(void)
|
||||
|
||||
void fpi_poll_exit(void)
|
||||
{
|
||||
g_slist_free(active_timers);
|
||||
g_slist_free_full(active_timers, g_free);
|
||||
active_timers = NULL;
|
||||
fd_added_cb = NULL;
|
||||
fd_removed_cb = NULL;
|
||||
|
||||
Reference in New Issue
Block a user