mirror of
https://git.kernel.org/pub/scm/network/wireless/iwd.git
synced 2024-12-19 18:22:32 +01:00
eapol: Remove eapol_sm's from queue when destroying.
Prevents a double-free.
This commit is contained in:
parent
90c922f2ca
commit
c22d22f5e5
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user