3
0
mirror of https://git.kernel.org/pub/scm/network/wireless/iwd.git synced 2024-12-27 02:32:52 +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)
auth->driver->remove(auth);
watchlist_destroy(&auth->destory_watches);
l_free(auth->nai);
l_free(auth);
}