mirror of
https://git.kernel.org/pub/scm/network/wireless/iwd.git
synced 2024-12-22 21:22:37 +01:00
ap: Fix leaking of ap->wsc_pbc_timeout
This commit is contained in:
parent
aa9a914975
commit
ec9260fa0c
1
src/ap.c
1
src/ap.c
@ -211,6 +211,7 @@ static void ap_reset(struct ap_state *ap)
|
|||||||
l_uintset_free(ap->rates);
|
l_uintset_free(ap->rates);
|
||||||
|
|
||||||
l_queue_destroy(ap->wsc_pbc_probes, l_free);
|
l_queue_destroy(ap->wsc_pbc_probes, l_free);
|
||||||
|
l_timeout_remove(ap->wsc_pbc_timeout);
|
||||||
|
|
||||||
ap->started = false;
|
ap->started = false;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user