3
0
mirror of https://git.kernel.org/pub/scm/network/wireless/iwd.git synced 2024-11-29 13:59:24 +01:00

simauth: fixup, destroy watchlist was not being removed

This commit is contained in:
James Prestwood 2017-11-30 10:15:18 -08:00 committed by Denis Kenzior
parent 777c7c3dae
commit 1a975a1168

View File

@ -79,6 +79,8 @@ static void destroy_provider(void *data)
if (auth->driver->remove) if (auth->driver->remove)
auth->driver->remove(auth); auth->driver->remove(auth);
watchlist_destroy(&auth->destory_watches);
l_free(auth->nai); l_free(auth->nai);
l_free(auth); l_free(auth);
} }