From ec9260fa0c9256c1fd72d8db382d78052061d881 Mon Sep 17 00:00:00 2001 From: Andrew Zaborowski Date: Fri, 4 Jun 2021 03:50:40 +0200 Subject: [PATCH] ap: Fix leaking of ap->wsc_pbc_timeout --- src/ap.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/ap.c b/src/ap.c index 20422d4e..0602792c 100644 --- 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;