From c22d22f5e53fc2d9d903829a93650eac23cefa4e Mon Sep 17 00:00:00 2001 From: Andrzej Zaborowski Date: Fri, 17 Apr 2015 17:17:48 +0200 Subject: [PATCH] eapol: Remove eapol_sm's from queue when destroying. Prevents a double-free. --- src/eapol.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/eapol.c b/src/eapol.c index ca4e0464..3de414a9 100644 --- a/src/eapol.c +++ b/src/eapol.c @@ -548,7 +548,7 @@ static bool eapol_sm_ifindex_match(void *data, void *user_data) eapol_sm_free(sm); - return false; + return true; } void eapol_cancel(uint32_t ifindex)