commit ec9260fa0c9256c1fd72d8db382d78052061d881
parent aa9a91497511f526b2ea3397e043bf60c057d73e
Author: Andrew Zaborowski <andrew.zaborowski@intel.com>
Date: Fri, 4 Jun 2021 03:50:40 +0200
ap: Fix leaking of ap->wsc_pbc_timeout
Diffstat:
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git a/src/ap.c b/src/ap.c
@@ -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;