Commit 29545833 authored by Bastien Nocera's avatar Bastien Nocera

lib: Fix memory leak in fpi_poll_exit()

The active_timers list was freed, but not the elements themselves.
parent ccdecdea
......@@ -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;
......
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