Clear PeerKey pointer on deinit
This commit is contained in:
parent
a4dc6e1934
commit
23ab8e863f
1 changed files with 1 additions and 0 deletions
|
@ -1141,6 +1141,7 @@ void peerkey_deinit(struct wpa_sm *sm)
|
|||
peerkey = peerkey->next;
|
||||
os_free(prev);
|
||||
}
|
||||
sm->peerkey = NULL;
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue