From 23ab8e863f5add2050cd71ec1205816152ae4f2f Mon Sep 17 00:00:00 2001 From: Jouni Malinen Date: Sun, 6 Mar 2011 14:52:52 +0200 Subject: [PATCH] Clear PeerKey pointer on deinit --- src/rsn_supp/peerkey.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/rsn_supp/peerkey.c b/src/rsn_supp/peerkey.c index a9d95293e..2b3332ea3 100644 --- a/src/rsn_supp/peerkey.c +++ b/src/rsn_supp/peerkey.c @@ -1141,6 +1141,7 @@ void peerkey_deinit(struct wpa_sm *sm) peerkey = peerkey->next; os_free(prev); } + sm->peerkey = NULL; }