Clear PeerKey pointer on deinit

This commit is contained in:
Jouni Malinen 2011-03-06 14:52:52 +02:00
parent a4dc6e1934
commit 23ab8e863f

View file

@ -1141,6 +1141,7 @@ void peerkey_deinit(struct wpa_sm *sm)
peerkey = peerkey->next; peerkey = peerkey->next;
os_free(prev); os_free(prev);
} }
sm->peerkey = NULL;
} }