3
0
mirror of https://git.kernel.org/pub/scm/network/wireless/iwd.git synced 2024-12-23 22:42:37 +01:00

eapol: Remove eapol_sm's from queue when destroying.

Prevents a double-free.
This commit is contained in:
Andrzej Zaborowski 2015-04-17 17:17:48 +02:00 committed by Denis Kenzior
parent 90c922f2ca
commit c22d22f5e5

View File

@ -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)