tests: Fix a memory leak in a module test
Signed-off-by: Jouni Malinen <quic_jouni@quicinc.com>
This commit is contained in:
parent
7184e63ced
commit
c179002789
1 changed files with 1 additions and 0 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue