tests: Fix a memory leak in a module test

Signed-off-by: Jouni Malinen <quic_jouni@quicinc.com>
This commit is contained in:
Jouni Malinen 2024-01-22 18:25:55 +02:00 committed by Jouni Malinen
parent 7184e63ced
commit c179002789

View file

@ -2446,6 +2446,7 @@ fail:
wpabuf_free(res_pt);
wpabuf_free(res_ct);
crypto_ec_key_deinit(own_priv);
crypto_ec_key_deinit(peer_pub);
return res;
}