diff --git a/src/common/dpp.c b/src/common/dpp.c index fd2e9f4ce..4b8d83811 100644 --- a/src/common/dpp.c +++ b/src/common/dpp.c @@ -3753,6 +3753,7 @@ dpp_auth_resp_rx(struct dpp_authentication *auth, const u8 *hdr, } EVP_PKEY_CTX_free(ctx); ctx = NULL; + EVP_PKEY_free(auth->peer_protocol_key); auth->peer_protocol_key = pr; pr = NULL;