ap: Fix leaking of ap->wsc_pbc_timeout

This commit is contained in:
Andrew Zaborowski 2021-06-04 03:50:40 +02:00 committed by Denis Kenzior
parent aa9a914975
commit ec9260fa0c
1 changed files with 1 additions and 0 deletions

View File

@ -211,6 +211,7 @@ static void ap_reset(struct ap_state *ap)
l_uintset_free(ap->rates);
l_queue_destroy(ap->wsc_pbc_probes, l_free);
l_timeout_remove(ap->wsc_pbc_timeout);
ap->started = false;