]> git.ipfire.org Git - thirdparty/hostap.git/commitdiff
Clear PeerKey pointer on deinit
authorJouni Malinen <j@w1.fi>
Sun, 6 Mar 2011 12:52:52 +0000 (14:52 +0200)
committerJouni Malinen <j@w1.fi>
Sun, 6 Mar 2011 12:52:52 +0000 (14:52 +0200)
src/rsn_supp/peerkey.c

index a9d95293ef68efaca81920bdc78f704ad1a1a1ab..2b3332ea36bff16b2f7296feb71803c2d60d9276 100644 (file)
@@ -1141,6 +1141,7 @@ void peerkey_deinit(struct wpa_sm *sm)
                peerkey = peerkey->next;
                os_free(prev);
        }
+       sm->peerkey = NULL;
 }